$.ajax({ beforeSend: function(xhr) { xhr.setRequestHeader(\'Authorization\', \"Basic YWRtaW46YWRtaW4=\"); }, url: \"https://test.com/incident.do
You may want to verify that the service supports jsonp. If not you'll need to set up a server side proxy.
Using jQuery to get json data returns invalid label error