cloudflare · Cloudflare Workers Docs
Workers HTTP
How to use Service Bindings to facilitate Worker-to-Worker communication by forwarding Request objects using the fetch method on a binding object.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers HTTP
How to use Service Bindings to facilitate Worker-to-Worker communication by forwarding Request objects using the fetch method on a binding object.
When To Use
Use when you need to implement direct Worker-to-Worker communication by forwarding incoming Request objects to a bound service via the fetch() method.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-runtime-apis-bindings-http-workflow-guide.md | A markdown document explaining how to use service bindings to forward a Request object to another Worker using the fetch method. | Questions about a markdown document explaining how to use service bindings to forward a Request object to another Worker using the fe... |
examples/workers-runtime-apis-bindings-http-cloudflare-workers-service-bindings-h.text | A configuration file demonstrating the setup for Cloudflare Workers service bindings using the HTTP protocol. | Exact payloads, commands, or snippets shown in A configuration file demonstrating the setup for Cloudflare Workers service bindings using the HTTP protocol. |
examples/workers-runtime-apis-bindings-http-cloudflare-workers-http-service-bindi.text | A wrangler configuration file demonstrating the setup for service bindings to facilitate HTTP communication between Workers. | Exact payloads, commands, or snippets shown in A wrangler configuration file demonstrating the setup for service bindings to facilitate HTTP communication between W... |
examples/workers-runtime-apis-bindings-http-cloudflare-workers-http-fetch-handler.text | A JavaScript code example demonstrating a basic fetch handler within a Cloudflare Worker that returns a plain text response. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating a basic fetch handler within a Cloudflare Worker that returns a plain text re... |
examples/workers-runtime-apis-bindings-http-cloudflare-workers-service-bindings-h-2.text | A wrangler configuration file demonstrating how to define service bindings for HTTP communication between Workers. | Exact payloads, commands, or snippets shown in A wrangler configuration file demonstrating how to define service bindings for HTTP communication between Workers. |
examples/workers-runtime-apis-bindings-http-cloudflare-workers-http-service-bindi-2.text | A TOML configuration file defining a service binding named WORKERB to connect workerA to workerb. | Exact payloads, commands, or snippets shown in A TOML configuration file defining a service binding named WORKERB to connect workerA to workerb. |
examples/workers-runtime-apis-bindings-http-cloudflare-workers-http-service-bindi-3.text | A JavaScript code example demonstrating how to use a service binding to fetch a request from another worker using the env object. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to use a service binding to fetch a request from another worker using the... |
examples/workers-runtime-apis-bindings-http-cloudflare-workers-http-service-bindi-4.text | A JavaScript code example demonstrating how to use a service binding to perform an HTTP fetch request within a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to use a service binding to perform an HTTP fetch request within a Cloudf... |
What This Skill Covers
- Worker A that declares a Service binding to Worker B can forward a Request object to Worker B, by calling the fetch() method that is exposed on the binding o...
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/http
