With Express, I am doing the following
export async function fetchData(token: any, body: any) {
const result = await fetch(
`${config.apiUrl}/${config.projectKey}/my-request`,
{
method: 'POST',
headers: {
Authorization: token,
},