[Webinvoke(UriTemplate="temp/",Method="POST",RequestFormat=WebMessageFormat.Json,ResponseFormat=WebMessageFormat.Jason)]
前段ajax請求能看到引數欄里有資料,但HttpContext.Current.Request.Form里面為什么接收不到資料?
如果把Method改成GET,前段也用get請求,HttpContext.Current.Request.QueryString里是有資料的。
請問POST為什么接收不到資料?應該怎么改?
uj5u.com熱心網友回復:
或許這個鏈接可以幫到你https://blog.csdn.net/weixin_30376083/article/details/99180283https://blog.csdn.net/weixin_30376083/article/details/99180283
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/68055.html
標籤:C#
上一篇:WPF使用SVG簡單整理
