http_request

Perform HTTP requests to any API endpoint with custom headers and JSON payloads.

38|14|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/ericwang915/PythonClaw --skill http-request-ericwang915
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: http_request
Source: https://github.com/ericwang915/PythonClaw/tree/main/pythonclaw/templates/skills/dev/http_request
Command: npx skills add https://github.com/ericwang915/PythonClaw --skill http-request-ericwang915

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool enables you to perform HTTP requests to any API endpoint from a simple, Python-friendly interface and CLI, eliminating manual cURL-like toil in scripts.

Core Features & Use Cases

  • Supports common HTTP methods (GET, POST, PUT, DELETE, PATCH) with optional JSON bodies and headers.
  • Returns structured responses including status, headers, and body for easy integration into tooling and automation.
  • Use cases include API testing, quick endpoint probing, automated health checks, and data retrieval for scripts and dashboards.

Quick Start

Run a sample GET request to a URL using the http_request tool to see the response's status, headers, and body.

Frequently Asked Questions about http_request

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

FAQPage Schema
How do I make HTTP requests to an API endpoint from an automation script?

You can make HTTP requests to any API endpoint by specifying the URL and desired HTTP method. The tool returns structured status, headers, and body data, streamlining API testing and endpoint probing in automation scripts.

What HTTP methods and payload options are supported for REST API testing?

REST API testing supports common HTTP methods including GET, POST, PUT, DELETE, and PATCH. You can include custom headers and JSON payloads in your requests to interact with various REST services.

Can I parse HTTP response headers and bodies for automated data retrieval?

Yes, automated data retrieval parses HTTP responses into structured formats. The tool returns response status, headers, and body separately, ensuring easy integration of retrieved data into dashboards and scripts.

What is the best way to handle timeouts and custom headers when probing API endpoints?

Endpoint probing handles timeouts and custom headers natively within the request configuration. This ensures robust endpoint health checks and prevents automation scripts from hanging on unresponsive REST services.

Does this HTTP request tool require external dependencies to send JSON payloads?

Sending JSON payloads requires no external dependencies. The tool utilizes the built-in requests library to manage JSON bodies, custom headers, and response parsing without additional environment setup.

Why use a Python-based HTTP request tool instead of manual cURL commands for API testing?

Using a Python-based HTTP request tool eliminates manual cURL toil by returning structured responses instead of raw text. This simplifies API testing, endpoint probing, and data retrieval within automation scripts.