ubuntu:如何模拟http请求工具(命令行模式)
1、安装
apt-get install httpie
2、方式get请求
http 127.0.0.1:8000/xxxxxxx/1733981
3、发送post请求
http -f POST 127.0.0.1:8000/xxxxxxxx/1741535 action=hse
https://github.com/jakubroztocil/httpie#url-shortcuts-for-localhost
1、安装
apt-get install httpie
2、方式get请求
http 127.0.0.1:8000/xxxxxxx/1733981
3、发送post请求
http -f POST 127.0.0.1:8000/xxxxxxxx/1741535 action=hse
https://github.com/jakubroztocil/httpie#url-shortcuts-for-localhost