post方法发送注册信息
curl -d "username=json&passwork=abcdefgh" http://www.wordwide.com/regist
优先通过ipv4解析目标网址,超时时间设为3秒
curl --connect-timeout 3 -d "username=json&passwork=abcdefgh" http://www.wordwide.com/regist -4
指定为post方式发送请求并附带文件
curl -X POST -F "File=@msgtmp" http://www.xxxx.com/upload/logfile
curl -X POST -F file=@/tmp/msgtmp http://testadmin.baidu.io/app/uploadLog?name=3333\&pwd=000C43288002
直接抓取网页
curl www.baidu.com