You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error message on wikipedia api: Refused to execute script because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.
#8
Closed
jonsrose opened this issue
Apr 13, 2016
· 2 comments
I tried executing a wikipedia rest api call from chrome using the fetch-jsonp because regular fetch caused a cross origin issue and was not allowed, but I am getting the an error message
The text was updated successfully, but these errors were encountered:
jonsrose
changed the title
https://en.wikipedia.org/w/api.php?action=parse&format=json&prop=text&page=United%20States&custom_callback=jsonp_1460520851470_51307
error message on wikipedia api: Refused to execute script because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.
Apr 13, 2016
I took out the custom callback parameter and just let the fetchjsonp set the parameter and now it works ok so I will go ahead and close the issue. Here is an example of a successful url
I tried executing a wikipedia rest api call from chrome using the fetch-jsonp because regular fetch caused a cross origin issue and was not allowed, but I am getting the an error message
https://en.wikipedia.org/w/api.php?action=parse&format=json&prop=text&page=United%20States&custom_callback=jsonp_1460520851470_51307
The text was updated successfully, but these errors were encountered: