diff --git a/website/src/utils/utils.tsx b/website/src/utils/utils.tsx index 151417127..238ed738d 100644 --- a/website/src/utils/utils.tsx +++ b/website/src/utils/utils.tsx @@ -50,6 +50,9 @@ const post = async (url: string, body: any): Promise => { const request = await fetch(url, { body: JSON.stringify(body), method: 'POST', + headers: { + ContentType: 'application/json' + } }); return { data: await request.json(), status: request.status }; };