二.下载
#以原文件名保存$curl -O http://xxxx:8000/test.txt#以新文件名保存$curl -o mytest.txt http://xxxx:8000/test.txt
二.post
curl -d '{"name":"test","type":"ttt"}' http://www.test.com/apicurl -d '{"name":"test","type":"ttt"}' -v -X POST -H 'Content-Type:application/json' http://www.test.com/apicurl -d '' -X POST -H 'Content-Type:application/xml' http://localhost:8087/requestParam/testXML adu 23
end