curl -i -X OPTIONS “wx.aytest.top”
post请求
curl -i -X post "wx.aytest.top"
head请求
-I 表示head请求
代理
-x
curl url -x ip:port
自定义header头
curl -H “Host:www.test.com” -H “User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21” http://域名/index.html?id=-11%20or%201=2 -v
上传文件
curl -F “file=@2017.mp4” http://59.153.72.215:88/