[英]Web API Null Content C# from Postman
这么努力的尝试。 Been calling a function API from Postman but when I tried to check the content it is null and the method is GET but I have set to POST.
这是接收代码
[System.Web.Http.HttpPost()]
// POST: Stream_Technical
public void Update_Activation(HttpRequestMessage request)
{
string message = request.Content.ReadAsStringAsync().Result;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.