$.ajax({
type: "GET",
url: "https://xxxxxxx/api",
dataType: 'jsonp',
headers: {
"Authorization": "Basic " + btoa('xxxxx' + ":" + 'xxxxxxx')
},
contentType: 'application/x-www-form-urlencoded',
success: function (datas){
console.log(datas);
}
});
callback=jQuery35104024780156488992_1640600619793&_=1640600619794
Uncaught SyntaxError: Unexpected token ':'