error 403
error 403
Posted 26 Apr 2020, 20:59:17
I'm trying to access setlist.fm API but I'm always getting an error 403
here is my code:
$.ajax({
url: “https://api.setlist.fm/rest/1.0/search/setlists?artistName=canova&p=1″,
type: “GET“,
dataType: 'jsonp',
header: {
“x-api-key”: “mykey”,
“Accept”: “application/json”,
},
success: function(data) {
console.log(data);
},
error: function(e) {
console.error(e);
}
});
do you know what could be wrong?
Last edited 26 Apr 2020, 21:02:43
Re: error 403
Posted 27 Apr 2020, 6:41:51
This looks like a request performed on a client, right? This is not supported, please read this and the following entries on CORS.