Cannot override XMLHttpRequest content type. You must correctly install it on the server, for example. for php:
header('Content-type: application/json');
If this is not possible, you can create a local proxy script that reflects your crossdomain script with the correct header
Kim t source
share