-
Notifications
You must be signed in to change notification settings - Fork 10k
Description
Existing documentation URL(s)
https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/http/
What changes are you suggesting?
When calling a bound worker's fetch method, it is not clear and not mentioned what the URL should be. When thinking about it, the worker is bound, suggesting there should be no need for a URL.
I have run in to the same issue as these
https://community.cloudflare.com/t/service-binding-to-other-worker-not-working/559030
https://community.cloudflare.com/t/service-binding-pages-function-to-worker-cant-call-path/647192
The solution appears to be to add any valid URL with a hostname (it will be ignored anyway).
I am suggesting mentioning this in the docs, for the docs only give examples of passing through or cloning requests with internal, already-valid URLs
Additional information
No response