HTTPie / cURL Builder
Build reproducible commands from method, URL, headers, and body for fast API debugging and sharing.
Status
Runs in your browser. No input is sent to a server.
How to use
Fill method, URL, headers, and body, then generate. Copy cURL or HTTPie output as needed.
Notes (this tool)
- Headers must follow `Name: value` format.
- Mask secrets before sharing generated commands.
About this page
What does this tool do?
Builds both `curl` and `http` (HTTPie) commands from the request data you enter.
Useful for reproducible troubleshooting logs, incident handoff commands, and team-ready request templates.
What this tool does
- Generate commands from method, URL, headers, and body
- Apply follow-redirect and insecure options
- Copy cURL and HTTPie outputs separately
Notes
- Enter headers as one per line in `Header-Name: value` format.
- Generated commands are shell-friendly defaults. Real environments may need extra options.
- Mask sensitive headers (such as Authorization) before sharing commands.
Referenced specs
- RFC 9110 (HTTP Semantics)
- cURL man page
- HTTPie Documentation
FAQ
Can I attach a body to GET requests?
Technically yes, but server behavior differs. In operations, POST/PUT/PATCH is usually safer.
HTTPie command does not run in my environment.
The `http` command may not be installed, or shell behavior may differ. Use cURL if needed.
References
Next to view (diagnostic order)
These links are generated from site_map rules in recommended diagnostic order.
- Set-Cookie Builder — Build Set-Cookie headers with attributes
- Request Headers Parser — Parse request headers into structured data
- Content-Type Inspect — Parse Content-Type and inspect MIME/charset
- Request/Response Diff — Compare header differences between request and response
- HTTP Header Parser — Parse raw headers into structured lists
- Response Headers Parser — Parse response headers into structured data
- Set-Cookie Inspect — Parse Set-Cookie attributes and review delivery policy
- Cookie Domain/Path Matcher — Evaluate cookie send conditions by Domain/Path/Secure
Same-theme links
Response Header Diagnostics
Step through raw headers to inspect Retry-After, Server-Timing, Link, and Content-Type
- HTTP Header Parser — Parse raw headers into structured lists
- Response Headers Parser — Parse response headers into structured data
- Set-Cookie Inspect — Parse Set-Cookie attributes and review delivery policy
- Cookie Domain/Path Matcher — Evaluate cookie send conditions by Domain/Path/Secure
- SameSite Cookie Simulator — Simulate cookie send behavior from SameSite and request context
- Set-Cookie Conflict Checker — Detect same-name cookie conflicts and overwrite risks
- Cookie Size Checker — Estimate Cookie header size and check limit risks
- Retry-After Inspect — Parse Retry-After and inspect retry wait behavior
- Server-Timing Inspect — Parse Server-Timing and inspect latency metrics
- Link Header Inspect — Parse Link headers and inspect rel/as/type
- Content-Type Inspect — Parse Content-Type and inspect MIME/charset
- X-Content-Type-Options Inspect — Parse X-Content-Type-Options and validate nosniff
- HTTP Status Inspect — Analyze HTTP status codes and suggest handling direction