const axios = require('axios');
axios.get(SHEETY_URL, {
headers: {
Authorization: Bearer ${SHEETY_AUTH_TOKEN}
}
})
.then(response => {
console.log(JSON.stringify(response.data));
})
.catch(error => {
console.error('Error fetching data from Sheety:', error);
});
make sure to include the Bearer with the auth token: "secret"