asp.net mvc获得请求体所有内容

代码如下

Stream req = Request.InputStream;
req.Seek(0, System.IO.SeekOrigin.Begin);
string json = new StreamReader(req).ReadToEnd();
原文地址:https://www.cnblogs.com/daoyi/p/aspnet-mvc-huo-de-qing-qiu-ti-suo-you-nei-rong.html