Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
139 views

ERR_CONTENT_DECODING_FAILED when trying to return gzip with HttpResponseMessage

Getting 'ERR_CONTENT_DECODING_FAILED' in the browser when running: HttpResponseMessage response = Request.CreateResponse(); response.Content = new StringContent("...
Mikioe's user avatar
  • 13
2 votes
1 answer
4k views

How do I convert a string into an HTTP Response in C#?

{ "AdditionalProcessCardSwipeResponseData": null, "CustomerTransactionID": "", "ProcessCardSwipeOutputs": [ { "AdditionalProcessCardSwipeResponseData": null, ...
Rickchip's user avatar
  • 411