安装
<tool> install httpiebrew install httpieyum install httpieapt-get install httpie
使用
http httpie.org# HTTP 方法http PUT xxx.xxhttp POST xxx.xxhttp DELETE xxx.xx# -v 详情http -v example.org# 自定义headerhttp localhost:8000 Host:example.com# queryhttp www.google.com search=='HTTPie logo'# -f 表单http -f POST example.org hello=World# < file.json 上传文件http example.org < file.json
