About this tool
HTTPie's compact syntax uses Header:value for headers, name=value for string fields and name:=value for numbers, booleans and nested JSON. This generator writes those items for you from a request form, adds --form or --multipart when needed and falls back to --raw for bodies that cannot be expressed as items. Commands are built locally and quoted for bash and zsh.
How to use HTTPie Command Generator
- Fill in the method, URL and headers.
- Choose a JSON, form, multipart or raw body.
- Copy the http command.
- Run it in a terminal where HTTPie is installed.
Frequently asked questions
What is the difference between = and := in HTTPie?
name=value sends the value as a JSON string, while name:=value inserts it as raw JSON, so numbers, true/false, arrays and objects keep their type.
Which HTTPie version is needed?
Commands use options available in HTTPie 3. The --raw flag for arbitrary bodies needs version 3.2 or newer.