I’ve been trying to query an API, it works using POSTMAN but when I try and replicate in Airtable I get an error message.
let response = await fetch('https://api.xavier-analytics.com/clients', {
headers: {
'Authorization': 'Bearer XXXXXXXXXXXXXXXXXXXXXXXXXX',
'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*',
}});
console.log(await response.json);