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: ✅