I\'m using HttpResponseMessage class as a response from an AJAX call which is returning JSON data from a service. When I pause execution after the AJAX call comes back from
You can use ReadAsStringAsync on the Content.
ReadAsStringAsync
Content
var response = await client.SendAsync(request); var content = await response.Content.ReadAsStringAsync();
Note that you usually should be using await - not .Result.
await
.Result