{"id":13473878,"url":"https://github.com/cloudflare/worker-template-fetch","last_synced_at":"2025-09-05T19:39:37.183Z","repository":{"id":41967808,"uuid":"183696220","full_name":"cloudflare/worker-template-fetch","owner":"cloudflare","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-25T22:49:39.000Z","size":577,"stargazers_count":20,"open_issues_count":16,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-06T12:41:50.034Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudflare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-04-26T21:28:14.000Z","updated_at":"2025-01-10T20:40:39.000Z","dependencies_parsed_at":"2024-01-02T23:04:36.350Z","dependency_job_id":"bf72e86a-e445-48ac-ab35-b6ea034c86d8","html_url":"https://github.com/cloudflare/worker-template-fetch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudflare/worker-template-fetch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworker-template-fetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworker-template-fetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworker-template-fetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworker-template-fetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudflare","download_url":"https://codeload.github.com/cloudflare/worker-template-fetch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Fworker-template-fetch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268492784,"owners_count":24258882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:01:07.683Z","updated_at":"2025-08-03T04:13:12.219Z","avatar_url":"https://github.com/cloudflare.png","language":"JavaScript","readme":"## fetch\n\nExamples 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.\n\n[`index.js`](https://github.com/cloudflare/worker-template-fetch/blob/master/index.js) is the content of the Workers script.\n\n#### Wrangler\nTo generate using [wrangler](https://github.com/cloudflare/wrangler)\n\n```\nwrangler generate myApp https://github.com/cloudflare/worker-template-fetch\n```\n\n#### Serverless\nTo deploy using serverless add a [`serverless.yml`](https://serverless.com/framework/docs/providers/cloudflare/) file.\n","funding_links":[],"categories":["Workers"],"sub_categories":["Recipes"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fworker-template-fetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudflare%2Fworker-template-fetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudflare%2Fworker-template-fetch/lists"}