Home > Net >  WCF can't receive the post data
WCF can't receive the post data

Time:09-21

[Webinvoke (the UriTemplate="temp/", Method=" POST ", RequestFormat=WebMessageFormat. Json, ResponseFormat=WebMessageFormat. Jason)]

In an ajax Request to see parameters of column data, but the HttpContext. Current. The Request. The Form inside why not receive the data?

If change the Method to GET the front also use a GET Request, HttpContext. Current. Request. There is data in the QueryString,

Would you please tell me why POST receive less than data? How should change?

CodePudding user response:

Maybe this link can help you

https://blog.csdn.net/weixin_30376083/article/details/99180283https://blog.csdn.net/weixin_30376083/article/details/99180283
  •  Tags:  
  • C#
  • Related