workers-fetch

Test Cloudflare Workers handlers with custom HTTP methods, headers, and JSON payloads.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/gigun-dev/hono-caldav --skill workers-fetch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workers-fetch
Source: https://github.com/gigun-dev/hono-caldav/tree/main/.cursor/skills/workers-fetch
Command: npx skills add https://github.com/gigun-dev/hono-caldav --skill workers-fetch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows developers to test their Cloudflare Workers applications directly from the command line without needing to run a local development server.

Core Features & Use Cases

  • Direct Testing: Execute requests against your Workers app handlers.
  • Custom Headers & Methods: Specify HTTP methods, headers, and request bodies.
  • Use Case: After deploying a new API endpoint to Cloudflare Workers, use this Skill to send a POST request with a JSON payload to verify its functionality and response.

Quick Start

Use workers-fetch to send a GET request to the /users endpoint.

Frequently Asked Questions about workers-fetch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test Cloudflare Workers API endpoints without running a local dev server?

You can test Cloudflare Workers API endpoints without a local dev server by executing requests directly against deployed or locally running Workers handlers using the workers-fetch CLI tool. It supports custom HTTP methods, headers, and JSON payloads for validation.

Can I send custom HTTP headers and JSON payloads when testing a Cloudflare Workers app?

Yes, you can send custom HTTP headers and JSON payloads when testing a Cloudflare Workers app. The workers-fetch CLI tool allows you to specify custom HTTP methods and request bodies for comprehensive API testing and debugging.

What is the best way to debug a deployed Cloudflare Workers API from the command line?

The best way to debug a deployed Cloudflare Workers API from the command line is using the workers-fetch CLI tool. It facilitates direct request execution against your Workers handlers to verify functionality and inspect API responses without needing a local development environment.

Does workers-fetch work with both deployed and locally running Cloudflare Workers handlers?

Yes, workers-fetch works with both deployed and locally running Cloudflare Workers handlers. It facilitates direct request execution against either environment, allowing you to debug and validate your API endpoints during development.

How do I verify a new POST endpoint on my Cloudflare Workers application?

To verify a new POST endpoint on your Cloudflare Workers application, use the workers-fetch CLI tool to send a POST request with a JSON payload. This allows you to directly test the endpoint's functionality and validate its response.