http POST https://api.example.com/items name=test

Category: Web App Development

http POST https://api.example.com/items name=test

POST JSON data with HTTPie shorthand

Sends a POST with the field name=test converted into a JSON body automatically. Key-value arguments like this are HTTPie's core convenience. Prefix a value with @ to read it from a file, or use := to force a raw JSON value.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.