This question is locked. New answers and comments are not allowed.
The below call is failing when deployed on an android device. This works on an iOS device, in desktop browsers, just not on Android or from chrome browser running on Android.
I can't figure out how to make this work. Any suggestions?
$.ajax({
type: "GET",
url: _restBaseUrl + "/api/v1/employees",
dataType: "json",
headers: {
'Authorization': "Basic xxxx"
},
success: function (d) {
alert(d.length);
},
error: function (d) {
alert(d.statusText + d.status + d.responseText);
}
});
I can't figure out how to make this work. Any suggestions?
$.ajax({
type: "GET",
url: _restBaseUrl + "/api/v1/employees",
dataType: "json",
headers: {
'Authorization': "Basic xxxx"
},
success: function (d) {
alert(d.length);
},
error: function (d) {
alert(d.statusText + d.status + d.responseText);
}
});