HTTPie writes requests as short, readable commands, but its item syntax (=, :=, ==, :) is easy to mix up. Fill in the request here and get the HTTPie command with each JSON field typed correctly, query parameters as ==, and auth passed with -a. The same form also writes cURL, fetch() and Axios.
Writing the code runs in your browser. What you type never leaves this device.
This page only writes the code. It never sends your request or sees your token.
Flat JSON objects become typed items: strings with =, numbers, booleans and objects with :=
Query parameters as key==value
Headers as Name:value
Bearer token with -A bearer -a, basic auth with -a user:password
--form and --multipart for form posts and file uploads
Arrays and raw text sent with --raw
Colourised, formatted JSON responses make it easier to read what an endpoint returns than plain cURL output.
A short HTTPie command is easier to read in a README than a long cURL line with escaped JSON.
Hit a local endpoint with a few typed fields without writing a JSON file.
HTTPie sends GET when there is no data and POST when there is, so the method is only written when it differs. JSON is the default body format and it sets Accept and Content-Type to JSON for you. Install it with pip install httpie, brew install httpie, or your package manager; the command is http (and https).
cURL Command Generator
Build a cURL command from a request form, quoted for bash, cmd or PowerShell
fetch() Code Generator
JavaScript fetch code for any API request, with error handling
JSON Formatter
Format and validate JSON
API Response Time Tester
Test API endpoint latency, headers, and status codes
cURL Converter
cURL to Python, fetch, Axios, Go, PHP or HTTPie
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.