Polaris
CDCloudflare Developers
•Created by Polaris on 7/21/2023 in #workers-help
Worker to worker request with third party library
Thanks for pointing that out, I'll take a look 👍
7 replies
CDCloudflare Developers
•Created by Polaris on 7/21/2023 in #workers-help
Worker to worker request with third party library
Yeah. I was just curious if you could use another library like wretch (https://github.com/elbywan/wretch) to make that request from one worker to another. The reason this even came to mind for me is because in a scenario where worker A calls B, and say B could respond with different HTTP status codes, then A will have to check for each one of them in an if statement and decide how to handle each. Other libraries provide better ergonomics for doing this type of operation (wretch for example).
7 replies
CDCloudflare Developers
•Created by ChefTony on 7/19/2023 in #workers-help
How to change the default environment?
Are there plans to update the UI so that it's not so confusing about this?
7 replies