StreamReader stream = new StreamReader(Request.Body);
string body = stream.ReadToEndAsync().GetAwaiter().GetResult();
log("读取到的BODY="+ body);
//转成JSON对象
JObject jobj = JObject.Parse(body);
ASP.NET CORE reads the content in the POST request BODY
Guess you like
Origin blog.csdn.net/qianjiu/article/details/120196305
Recommended
Ranking