Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore update .gitignore Jun 8, 2019
.prettierrc
.prettierrc.js Format templates with README and correct package.json May 22, 2019
README.md Fixes to subrequest May 22, 2019
index.js Fix static source May 31, 2019
package.json Fixes to demo working May 22, 2019
receive-server.js included a receive server which fetch will call to Apr 26, 2019
yarn.lock

README.md

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.

Live Demos are hosted on workers-tooling.cf/demos/fetch: Demo JSON | Demo HTML

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.

You can’t perform that action at this time.