request

Construct and send HTTP requests with curl across REST and GraphQL workflows.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/theslashdojo/dojo --skill request-theslashdojo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: request
Source: https://github.com/theslashdojo/dojo/tree/main/nodes/curl/request
Command: npx skills add https://github.com/theslashdojo/dojo --skill request-theslashdojo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

curl HTTP requests are essential for interacting with web services from the command line, but assembling methods, headers, bodies, redirects, and output handling can be error-prone and repetitive.

Core Features & Use Cases

  • Supports all HTTP methods (GET, POST, PUT, PATCH, DELETE, HEAD) and mirrors curl behavior for headers, data payloads, and file uploads.
  • Handles JSON payloads, form data, redirects, and flexible output options (body, headers, status, or a custom write-out string).
  • Use cases include API exploration, integration testing, CI automation, GraphQL queries, and quick one-off endpoint checks from scripts.

Quick Start

Provide a URL and optional method, headers, and body to perform a curl request.

Frequently Asked Questions about request

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

FAQPage Schema
How do I execute curl HTTP requests with custom headers and JSON payloads from the CLI?

You can execute curl HTTP requests by providing a URL, HTTP method, headers, and a JSON body. The request is validated and returns structured results containing the status, headers, and body.

What is the best way to automate API integration testing using curl for REST and GraphQL workflows?

Automating API integration testing with curl involves sending HTTP requests across REST and GraphQL workflows. The process supports all HTTP methods, redirects, form data, and flexible output modes like headers or custom write-out strings.

Can I send form data and handle redirects when making HTTP requests?

Yes, you can send form data and handle redirects when making HTTP requests. The execution mirrors standard curl behavior, fully supporting data payloads, file uploads, and redirect handling.

Does this curl approach support all HTTP methods including PUT, PATCH, and DELETE?

Yes, this curl approach supports all HTTP methods including GET, POST, PUT, PATCH, DELETE, and HEAD. It enforces input validation for the URL, method, headers, body, and output settings before returning results.

How do I get only the response headers or status code from a curl HTTP request?

To get only response headers or the status code from a curl HTTP request, you can use flexible output options. You can configure the output to return the body, headers, status, or a custom write-out string.

Why does my curl HTTP request fail when sending an invalid URL or missing payload?

Your curl HTTP request fails because input validation is enforced for the URL, method, headers, body, and output settings. Providing an invalid URL or missing required payload data prevents the request from executing successfully.