JQuery response is null but actual response is not
- by Paul Petrick
I'm using JQuery to make an Ajax call. I used a sniffer to catch the response text:
{"error_code":0,"message":"SUCCESS","data":{"session_token":"3efd9dde-a839-4e91-9415-4c2f6cba5b7b"}}
But the response returned on the success callback is null. Anyone got any ideas? (see jquery code below.
Jquery code:
$.ajax({
type: "GET",
url:…