For Workes & Pages, what is the name of the domain?
asitis.workers.dev
What is the issue or error you’re encountering
I’m trying to fetch request with Workers Service Binding using HTTP. I provided only the pathname for the fetch request’s URL, but it didn’t work.
What steps have you taken to resolve the issue?
While investigating the issue, I found a forum discussion that mentioned: “fetch doesn’t accept paths, you need to provide a hostname (it won’t be used with service bindings)” When I provided the full URL including the hostname, the Service Binding worked correctly. However, according to the Service Binding documentation, “Service bindings allow one worker to call into another, without going through a publicly-accessible URL.” I think this behavior looks weird. Is this a bug? Is there any plans to fix this behavior?