Awesome
fetch
Examples of making fetch requests from within your Worker script including generating JSON post requests then reading in the resulting response body, aggregating multiple requests into one response, and following/catching redirects.
index.js
is the content of the Workers script.
Wrangler
To generate using wrangler
wrangler generate myApp https://github.com/cloudflare/worker-template-fetch
Serverless
To deploy using serverless add a serverless.yml
file.