请问这个httpcontent应该怎样填写,我想发送的post参数名是body,参数值是123,应该怎么填
HttpContent httpContent = new StringContent(postData);
//postData 為JSON字串,例: "{ 'body': 123 }"
httpContent.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json");
感谢!!