Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
function calling a worker with data - Cloudflare Developers
CD
Cloudflare Developers
•
2y ago
•
1 reply
sia
function calling a worker with data
I think I
'm missing some basic understanding of how functions and workers can work together
. I
've binded my worker to my function as mentioned here
https://developers.cloudflare.com/pages/functions/bindings/#service-bindings
. But the only usage example is
:
return context.env.SERVICE.fetch(context.request);
return context.env.SERVICE.fetch(context.request);
But
, I don
't want to just forward the request sent to the function
. I want to send the worker JSON data for it to send an email
, and in the function I redirect to a confirmation page
. I
'm unclear how to interact with the worker from the function
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,436
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Deploy a Browser Rendering Worker with D...
CD
Cloudflare Developers / workers-and-pages-discussions
2y ago
With my cloudflare worker I fail with
CD
Cloudflare Developers / workers-and-pages-discussions
4y ago
has anyone written a worker based
CD
Cloudflare Developers / workers-and-pages-discussions
2y ago