Http Request Builder
Skill by derick001
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/derick001/http-request-buildername: http-request-builder description: Build and test HTTP requests with CLI interface: headers, auth, body, cookies, with history and templates. version: 1.0.0 author: skill-factory metadata: openclaw: requires: bins: - python3 python: - requests
HTTP Request Builder
What This Does
A CLI tool to build, test, and save HTTP requests. Send requests with custom headers, authentication, body, and cookies. Save requests as templates for reuse and maintain a history of your HTTP calls.
Key features:
- Send HTTP requests with GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS methods
- Set custom headers with key-value pairs
- Add authentication (Basic Auth, Bearer tokens)
- Include request body (JSON, form data, raw text)
- Manage cookies for requests
- Save requests as templates (JSON files) for reuse
- Load and execute saved templates
- Interactive mode for building requests step-by-step
- Command-line mode for scripting and automation
- Request history tracks your recent HTTP calls
When To Use
- You need to test REST API endpoints quickly from the terminal
- You want to save and reuse complex API requests
- You prefer a CLI tool over GUI applications like Postman
- You need to automate API testing in scripts
- You want to share API request configurations with team members
- You're debugging API issues and need to replay requests
Usage
Basic commands:
# Send a GET request
python3 scripts/main.py get https://api.example.com/data
# Send a POST request with JSON body
python3 scripts/main.py post https://api.example.com/api \
--header "Content-Type: application/json" \
--body '{"name": "test", "value": 123}'
# Send with Basic authentication
python3 scripts/main.py get https://api.example.com/secure \
--auth basic --username admin --password secret
# Send with Bearer token
python3 scripts/main.py get https://api.example.com/secure \
--auth bearer --token "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
# Save request as template
python3 scripts/main.py post https://api.example.com/api \
--header "Content-Type: application/json" \
--body '{"name": "test"}' \
--save-template my-request
# Load and execute template
python3 scripts/main.py template my-request
# Interactive mode
python3 scripts/main.py interactive
# View request history
python3 scripts/main.py history
# Clear history
python3 scripts/main.py history --clear
Examples
Example 1: Simple GET request
python3 scripts/main.py get https://jsonplaceholder.typicode.com/posts/1
Output:
Response Status: 200 OK
Response Headers:
content-type: application/json; charset=utf-8
...
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-derick001-http-request-builder": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
api-endpoint-tester
CLI tool to test REST API endpoints with various HTTP methods, headers, and payloads.
docker-container-cleaner
CLI tool to clean up stopped Docker containers, unused images, volumes, and networks to free up disk space.
ssl-certificate-monitor
Monitor SSL certificates for expiration, security issues, and compliance across domains and subdomains.
secret-detection
Git hook to detect secrets before commit.
ssh-config-manager
CLI tool to manage SSH config files, organize hosts, generate configs, and test connections.