http

http

TLDR

Download a URL to a file

$ http --download [example.org]
copy

Send form-encoded data

$ http --form [example.org] [name='bob'] [profile_picture@'bob.png']
copy

Send JSON object

$ http [example.org] [name='bob']
copy

Specify an HTTP method

$ http [HEAD] [example.org]
copy

Include an extra header

$ http [example.org] [X-MyHeader:123]
copy

Pass a username and password for server authentication

$ http --auth [username:password] [example.org]
copy

Specify raw request body via stdin

$ cat [data.txt] | http PUT [example.org]
copy

Copied to clipboard
Earn up to $40 for learning about crypto currencies