Skip to content

CollectionAgency/worker-template-fetch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%