http

http

TLDR

Download a URL to a file

$ http -d [example.org]
copy

Send form-encoded data

$ http -f [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 user name and password for server authentication

$ http -a [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