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
free 100$ digital ocean credit