I have a System.Web.UI.Page page which receive both POST and PUT HTTP requests.
Reading a POST data through the Request.Form field is fine.
开发者_开发百科But how can i get PUT data? Request.Form field is empty.
Is there a way to access the raw request? or better: The PUT data?
I found the solution, I was not using the good Field as Put data are contained in the body.
To access put data use:
Request.InputStream;
加载中,请稍侯......
精彩评论