【linux系统】命令学习(七)进阶命令 curl jq
curl 支持dict file ftp ftps gopher http https imap
1、实现代理 curl -x 129.3.3.3:8888 https://baidu.com
2、get 请求 curl -G https://baidu.com
curl -X GET https://baidu.com
3、post请求 curl -d "login=1234" https://baidu.com
curl -X POST https://baidu.com
4、保存响应内容
curl -o tmjj.html https://baidu.com
5、输出通信的整个过程 curl -v https://baidu.com
6、不输出错误和进度信息
curl -s https://baidu.com
jq json提取器 yum intall jq ----需要安装
格式优化

内容提取
提取字典、数组



数据重组



浙公网安备 33010602011771号