skillfed

http-client

http-client enables you to send HTTP requests to external APIs and endpoints with comprehensive method support. It handles authentication, custom headers, JSON payloads, and file uploads through a straightforward command interface.

http-client lets you make HTTP requests to external APIs with support for all methods, headers, and authentication.

AI-generated summary based on this skill's SKILL.md

84 15 MIT updated by AIDotNet

Install

AIDotNet/MoYuCode/http-client · repository language: TypeScript

git clone https://github.com/AIDotNet/MoYuCode
cp -r MoYuCode/skills/tools/http-client ~/.claude/skills/http-client
npx skillfed install AIDotNet/MoYuCode/http-client

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I send an HTTP request with http-client?

http-client lets you send HTTP requests to external APIs and endpoints using a straightforward command interface. You can specify the HTTP method (GET, POST, PUT, DELETE, etc.), the target URL, and any data or headers you need to include in your request.

Can http-client test REST API endpoints with various HTTP methods?

Yes. http-client supports testing REST API endpoints with various HTTP methods. You can use GET, POST, PUT, DELETE, and other standard HTTP verbs to test your API endpoints and inspect the responses returned.

How do I send an HTTP request with headers and authentication?

http-client supports sending authenticated API calls with headers and tokens. You can add custom headers to your requests, including bearer tokens and other authentication credentials needed to access protected API endpoints.

Does http-client support file uploads and multipart data?

Yes. http-client can upload files and send multipart data via HTTP. This allows you to send file attachments and complex data structures to API endpoints that accept multipart form submissions.

What license does http-client use?

http-client is released under the MIT license, which permits free use, modification, and distribution of the software with minimal restrictions.

SKILL.md

rendered from the published skill — quoted content, verbatim

HTTP Client Tool

Description

Make HTTP requests with full support for GET, POST, PUT, DELETE, headers, authentication, and file uploads.

Trigger

  • /http command
  • User needs to make API calls
  • User wants to test endpoints

Usage

# GET request
python scripts/http_client.py GET https://api.example.com/users

# POST with JSON body
python scripts/http_client.py POST https://api.example.com/users --json '{"name": "John"}'

# With headers
python scripts/http_client.py GET https://api.example.com/data --header "Authorization: Bearer token"

# Upload file
python scripts/http_client.py POST https://api.example.com/upload --file document.pdf

Tags

http, api, rest, requests, client

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Read as markdown · JSON record · Browse the source repository

File tree — 2 files
skills/tools/http-client/SKILL.md
skills/tools/http-client/scripts/http_client.py

Related skills

Tags

api-testing web-requests rest-client http-methods endpoint-caller auth-headers request-builder api-integration