Here is my code
$.ajax({ url: 'https://api.flightstats.com/flex/schedules/rest/v1/json/flight/AA/100/departing/2013/10/4?appId=19d57e69&appKey=e0ea60854c1205af43fd7b1203005d59&callback=?', dataType: 'JSONP', jsonpCallback: 'jsonCallback', type : 'GET', async: false, crossDomain: true, success: function(data) { console.log(data); } });
What am I doing wrong? Should I add or change anything here? Any help would be greatly appreciated. Thanks
jquery jsonp
Katakam Nikhil Oct 03 '13 at 17:57 2013-10-03 17:57
source share