My URL service hosted at Google App Engine return JSON content type.
The example URL is this, that works perfect in browser. Also validated from http://jsonlint.com.
I am using following jQuery.ajax call to get the response.
jQuery.ajax({
type: "get",
url: "http://trim-pk.appspot.com/do?url=http://www.google.com",
dataType: "json",
success: function(response) {
alert(response);
}
});
What’s went wrong? Why I am not getting the response. It’s null.
I have tried with contentType: "application/json; charset=utf-8" and contentType: "application/json; charset=ISO-8859-1", but got 500.
Following is my Firebug output.

Have you configured CORS on your AppEngine app?