When running this code:
$.getJSON('http://api.stackoverflow.com/0.8/questions/4', function(data) {
// Do some stuff here....
});
I get this error:
Failed to load resource
Am I accessing this wrong?
feedback
|
|
I suspect your problem (as I commented) is XSS related. Try using JSONP instead of raw JSON; we just added support for the | |||||||
feedback
|
|
As Kevin says, XSS. Try this instead:
| |||
|
feedback
|