Access Raw Request Body

后端 未结 4 1407
北恋
北恋 2021-01-04 12:59

I\'m trying to access a request\'s raw input body/stream in ASP.net 5. In the past, I was able to reset the position of the input stream to 0 and read it into a memory strea

4条回答
  •  悲&欢浪女
    2021-01-04 13:21

    I just had this same issue. Remove the parameters from the method signature, and then read the Request.Body Stream how you want to.

提交回复
热议问题