score:2

Accepted answer

you are returning json (with a plain text content-type), not json-p.

you need to look at the value of callback in the query string and wrap the json in that function call.

e.g. for ?callback=foo:

foo(/* your json here */);

you should also use the correct content type (application/javascript).


Related Query

More Query from same tag