© 2026 Hedgehog Software, LLC
{ WORKER: constructor { } }
**Wrangler.toml** [[services]] binding = "WORKER" service = "WORKER-ID" **get the env in the nextjs app** const { env, cf, ctx } = getRequestContext(); **Make the fetch request in the nextjs app** const response = await env.WORKER.fetch({ method: 'POST', body: formdata, });