I mostly cut and pasted this:
when I pass a URL to it via a browser, the app runs fine.
but when I try to get the data via an ajax call through jquery (even w/ JSONp enabled) I keep getting an error.
$.ajax({
url: 'https://NOTTHEACTUALADRESS.com&callback=?',
type: 'GET',
dataType: 'jsonp',
timeout: 3000,
success: function(result) {
alert ("success");
},
error: function(result) {
alert (result.status);
}
});
am I missing something on Azure?
please help!