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

 

https://blog.csdn.net/u011840205/article/details/86715018

posted @ 2020-08-06 21:13  Montai  阅读(1661)  评论(0编辑  收藏  举报