I feel like I am going to facepalm, but in production, using a real service binding, what on earth d
I feel like I am going to facepalm, but in production, using a real service binding, what on earth do you pass as the URL in the request?
All the examples are simply passing or cloning the original request like in a middleware, but in this case, my Pages Function needs to basically make an API call to a Worker.
e.g. my website might get hit on the root domain, triggering a request to a Pages Function that will SSR the page, and in doing so I want to make an API call to my worker (e.g. to
All the examples are simply passing or cloning the original request like in a middleware, but in this case, my Pages Function needs to basically make an API call to a Worker.
e.g. my website might get hit on the root domain, triggering a request to a Pages Function that will SSR the page, and in doing so I want to make an API call to my worker (e.g. to
/foo as I'm using IttyRouter to route API requests in the worker). Is that... possible? I find it weird it wouldn't be as you wouldn't be able to have composable "microservices" otherwise 