Reputation: 44310
This was working earlier today. I'm not sure why it is broken now. I'm doing the following:
$.getJSON( "http://ip.jsontest.com/", function( data ){
console.log(data);
});
And keep getting this error:
XMLHttpRequest cannot load http://ip.jsontest.com/. Origin http://fiddle.jshell.net is not allowed by Access-Control-Allow-Origin.
If you look at this example http://jsfiddle.net/ZfvKm/2/, it is also doing an external call without issue. What am I doing wrong?
Upvotes: 0
Views: 218
Reputation: 20359
Visit http://ip.jsontest.com/ yourself, and see that the app is over quota. It looks like it's running on Google App Engine, so whoever runs ip.jsontest.com
needs to increase their daily budget for that particular app.
Upvotes: 1