Hi all, I had a question around the service bindings. One thing that is very convenient is that you

Hi all, I had a question around the service bindings. One thing that is very convenient is that you can easily bind any cloudflare service into your workers (database, r2, kv, etc) without having to deal with credentials and connection details.

So I was hoping that service-to-service bindings would work in a similar fashion, namely that I could just
ctx.otherService.fetch("/some/relative/path")
that would call that service through an internal network. However, that seems not to be the case, I now have to bind the service, but also somehow configure the url of how to access that service.

I am probably missing some context here, and maybe there is a technical implication that makes this non-trivial to implement, but imo would be very convenient DX if you can just call directly into another service without needing additional configuration.
Was this page helpful?