© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
CD
Cloudflare Developers
•
3y ago
•
4 replies
willin
Workers Routes Replacement
I want to create a workers route to
:
a.com/api/sth
b.com/api/sth
c.com/api/sth
a.com/api/sth
b.com/api/sth
c.com/api/sth
if worker does not have response
, then fetch origin
a.com/api/sth
a.com/api/sth
as result
.
how to write the fetch codes in the worker script
?
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Workers routes - Zone
CD
Cloudflare Developers / workers-and-pages-help
3y ago
Workers Routes keep disappearing
CD
Cloudflare Developers / workers-and-pages-help
13mo ago
Subdomain Routes With Multiple Workers
CD
Cloudflare Developers / workers-and-pages-help
3y ago