[英]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.