Link Search Menu Expand Document


HTTPie: HTTP client, aims to be easier to use than cURL. More information:

  • Download a URL to a file:

http --download {{}}

  • Send form-encoded data:

http --form {{}} {{name='bob'}} {{profile_picture@'bob.png'}}

  • Send JSON object:

http {{}} {{name='bob'}}

  • Specify an HTTP method:

http {{HEAD}} {{}}

  • Include an extra header:

http {{}} {{X-MyHeader:123}}

  • Pass a username and password for server authentication:

http --auth {{username:password}} {{}}

  • Specify raw request body via stdin:

cat {{data.txt}} | http PUT {{}}