# cloudflare/worker-template-fetch

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/cloudflare-worker-template-fetch).**

20 stars · 8 forks · JavaScript

## Links

- GitHub: https://github.com/cloudflare/worker-template-fetch
- awesome-repositories: https://awesome-repositories.com/repository/cloudflare-worker-template-fetch.md

## Description

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.

## Tags

### Part of an Awesome List

- [Worker Recipes](https://awesome-repositories.com/f/awesome-lists/devtools/worker-recipes.md) — Examples for making fetch requests and generating JSON payloads.
