I have this weird issue where the response from my API call is not giving me the option to view it as JSON under the Body tab. I have confirmed that the server is returning Content-Type: application/json, and when I use Fiddler for the exact same call it parses the reply as JSON.
This is the request in raw format:
Content-Type: application/json
User-Agent: Telerik Test Studio for APIs
Host: www.scorpio-concepts.co.za
Content-Length: 53
Expect: 100-continue
Connection: Keep-Alive
{
"email": "foo@bar.com",
"password": "f00b@r"
}
This is the raw reply from the server:
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 24
Content-Type: application/json
Date: Tue, 21 Feb 2017 14:57:50 GMT
Server: Apache/2.4.10 (Debian)
{"error":"Auth Failure"}
Anybody got any clue? I tested using the sample app and project, and there it seems to work, so I don't think it's related to a missing library or anything.