curl 常用命令
1,最近想从linux查看外网ip地址,百度了一下发现不少
curl icanhazip.com
curl ifconfig.me
等等
2,通过curl将xml文件POST给远端服务器
cat /python/post/post.xml | curl --connect-timeout 10 --max-time 20 -X POST -H 'Content-type:text/xml' -d @- http://10.132.1.50:8081/WdzjWebService/services/GetInfoServiceImpl?wsdl