Hi Team,
When I send a request via Coda.io Pack, I receive this message
But I’m sending it properly
Here is my code:
execute: async function ([], context) {
const requestBody = JSON.stringify({
query: `{
user(id: "576576")) {
followers {
edges {
node {
id
}
}
}
}
}`
});
let response = await context.fetcher.fetch({
method: "POST",
url: "https://api.producthunt.com/v2/api/graphql",
body: requestBody,
});
let data = response.body;
return data;
},
});
Could anyone help me with this request, please?
Thank you a ton! I’ve spend 30 mins trying to figure it out where is the problem