All Questions
2 questions
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("...
2
votes
1
answer
4k
views
How do I convert a string into an HTTP Response in C#?
{
"AdditionalProcessCardSwipeResponseData": null,
"CustomerTransactionID": "",
"ProcessCardSwipeOutputs": [
{
"AdditionalProcessCardSwipeResponseData": null,
...