I want to access a REST service on another domain. If, in JQuery, I specify:
dataType: \'json\'
it fails, as expected, since for cross-doma
I think you will want to try something along these lines:
$.ajax({ headers: { Accept : "application/json; charset=utf-8", "Content-Type": "text/plain; charset=utf-8" } dataType: 'jsonp', success : function(response) { ... } })