Board Thread:Support Requests - Getting Technical/@comment-189.200.87.152-20160602225207

Hey there, i'm trying to get a json data from a ajax request, but somehow it doesn't work

This is my code:

$.ajax({ url: 'http://megamitensei.wikia.com/api/v1/Articles/AsSimpleJson?id=7953format=json', dataType: "jsonp", }).done(function(data) { console.log(data); });

when i execute the script i get the following two erros:

firefox error:

SyntaxError: missing ; before statement

chrome error :

Refused to execute script from 'http://megamitensei.wikia.com/api/v1/Articles/AsSimpleJson?id=7953format=json&callback=jQuery111107295779246441529_1464907422490&_=1464907422491' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.

well i was trying with jsonp o CORS method but none of those has worked for me, the api documentation doesn't provide any information about it.

any right example for handle this error or execute the ajax call will be grateful

thanks. 