Cheatsheet for Httpie

less than 1 minute read

Httpie is a fantastic command line tool that help you do more http interations using the command prompt, similar to curl, but much much better.

Make http GET with authorization header

http -v 'Authorization:Bearer <access_token>'

Download top 50 songs from Netease Music

curl '' \
| pup 'ul.f-hide a json{}' \
| jshon -a -e href \
| awk -F\t '{system("you-get \""$1"\"")}'