Here's my ajax call:
jQuery.ajax({
type: 'GET',
datatype: 'application/json',
url: URL,
dataType: 'jsonp',
success: function(data) {
console.log(data);
},
error: function(data) {
console.log(data);
}
});
When I click on network in Chrome Developer tools, I see a status 200, and the response data is all there, but it doesn't console log it out anyway that I try. Instead, here is what I get:
Refused to execute script from 'http://localhost:3000/api/bikes?apiKey=*****&callback=jQuery17204357656354550272_1423492504648&_=1423492968710' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.
VM1680:11 Object {readyState: 4, setRequestHeader: function, getAllResponseHeaders: function, getResponseHeader: function, overrideMimeType: function…}
Any explanation?