```js async fetch(req, env, ctx) { const payload = await req.json(); const something = await yo

async fetch(req, env, ctx) {
const payload = await req.json();

const something = await yourFunction(payload, env);

return new Response(something);
}
async fetch(req, env, ctx) {
const payload = await req.json();

const something = await yourFunction(payload, env);

return new Response(something);
}
i.e that's fine
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?