Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • I guess we have had the same issue couple of years back. all I remember now is we had changed some WebDav IIS settings to include all methods i.e post, put ,delete etc on API server Commented Dec 31, 2019 at 16:01
  • I can try but I'm not sure it'll change anything because JSON is valid when I call my API methods using Postman. I think the problem is more client side and has to do with HttpClient and HttpResponseMessage. Commented Jan 2, 2020 at 8:01
  • @Prany Thanks for your comment, but in my case it appeared to be a request header problem : json was readable when I removed the "Accept-Encoding: gzip, deflate" header. Commented Jan 7, 2020 at 8:13
  • no worries, I think you can comment as an answer below for the community :) Commented Jan 7, 2020 at 9:14