Hate to bother you guys but I’m having some issues when trying to get responses from the API
I’m currently working in javascript and I keep getting this error despite having the API key set in the headers
this is how I am performing the request. unfortunately I keep getting the “No API key found in request” response. If you don’t know why this is happening could you provide an example of a functioning javascript query if you have one on hand so I can compare?
$.ajax({
type: "GET",
url: "https://public-api.tracker.gg/v2/csgo/standard/profile/steam/76561198008049283/segments/weapon",
dataType : 'jsonp', //you may use jsonp for cross origin request
crossDomain:true,
Headers: {
// 'trn-api-key' : APIkey,
'TRN-Api-Key': APIkey,
'Accept': 'application/json',
'Accept-Encoding': 'gzip'
},