/install jrv-http-client
jrv-http-client
A developer-friendly HTTP client for agents and scripts. Supports all HTTP methods, authentication, request bodies, pretty-printed responses, timing, and request history — all without needing curl flags memorized.
Quick Start
# Simple GET request
python3 scripts/http_client.py GET https://httpbin.org/get
# POST with JSON body
python3 scripts/http_client.py POST https://httpbin.org/post --json '{"name": "test"}'
# POST with form data
python3 scripts/http_client.py POST https://httpbin.org/post --form "name=test&value=42"
# PUT request
python3 scripts/http_client.py PUT https://api.example.com/users/1 --json '{"role": "admin"}'
# DELETE request
python3 scripts/http_client.py DELETE https://api.example.com/users/1
# Bearer token auth
python3 scripts/http_client.py GET https://api.example.com/me --bearer "mytoken123"
# Basic auth
python3 scripts/http_client.py GET https://api.example.com/data --auth "user:password"
# API key header
python3 scripts/http_client.py GET https://api.example.com/data --api-key "X-API-Key:abc123"
# Custom headers
python3 scripts/http_client.py GET https://api.example.com/ --header "Accept: application/json" --header "X-App: myapp"
# Follow redirects
python3 scripts/http_client.py GET https://example.com/ --follow
# Show only status code
python3 scripts/http_client.py GET https://api.example.com/health --status-only
# Output response to file
python3 scripts/http_client.py GET https://example.com/data.json --output response.json
# Timeout
python3 scripts/http_client.py GET https://slow.api.example.com/ --timeout 10
# Show request timing
python3 scripts/http_client.py GET https://httpbin.org/get --timing
# Output as JSON (for scripting)
python3 scripts/http_client.py GET https://httpbin.org/get --output-json
Commands
| Option | Description |
|---|---|
GET/POST/PUT/DELETE/PATCH/HEAD |
HTTP method |
\x3Curl> |
Target URL |
--json \x3Cbody> |
JSON request body (sets Content-Type: application/json) |
--form \x3Cdata> |
Form-encoded body (key=value&key2=val2) |
--bearer \x3Ctoken> |
Bearer token Authorization header |
--auth \x3Cuser:pass> |
Basic auth |
--api-key \x3CHeader:value> |
Custom API key header |
--header \x3CH: V> |
Add custom header (repeatable) |
--follow |
Follow redirects (default: no) |
--timeout N |
Request timeout in seconds (default: 30) |
--status-only |
Print only the HTTP status code |
--output \x3Cfile> |
Save response body to file |
--output-json |
Output full response as JSON (status, headers, body, timing) |
--timing |
Show request/response timing |
--no-verify |
Skip TLS certificate verification |
--verbose |
Show request headers sent |
Response Format
By default, responses are pretty-printed:
- JSON responses are syntax-highlighted and indented
- Other responses show raw text
- Status line and response headers are always shown
Exit Codes
0— HTTP 2xx response1— HTTP 4xx/5xx response2— Network error, timeout, or usage error
Use Cases
- API testing: Quick endpoint checks without Postman
- Health monitoring: Check if an API returns 200
- Auth testing: Test Bearer/Basic/API key auth flows
- Webhook debugging: Send test payloads to webhook endpoints
- CI scripts: Trigger API actions or check health in pipelines
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install jrv-http-client - After installation, invoke the skill by name or use
/jrv-http-client - Provide required inputs per the skill's parameter spec and get structured output
What is Jrv Http Client?
Make HTTP requests from the command line with support for auth (Bearer, Basic, API key), custom headers, JSON/form body, response formatting, timing, and his... It is an AI Agent Skill for Claude Code / OpenClaw, with 158 downloads so far.
How do I install Jrv Http Client?
Run "/install jrv-http-client" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Jrv Http Client free?
Yes, Jrv Http Client is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Jrv Http Client support?
Jrv Http Client is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Jrv Http Client?
It is built and maintained by John Wang (@johnnywang2001); the current version is v1.0.0.