In my application it was an issue because client was encoding the
body content.But I was not specifying the encoding or media type. I have specified and resolved the issue as below
var content = new StringContent(postData, Encoding.UTF8, "application/json");
httpClient.PostAsync(uri, content);
Comments
Post a Comment