多个头信息用多个H连接
curl -H "host:test.host.com" -H "org:888" -H"user:admin" http://120.0.374.182/apikey
发送post请求
curl -X POST -d 'username=xnpt&client_ip=12.0.217.135' http://12.0.217.197:8000/trusted
post请求发送json格式
curl -H "Content-Type:application/json" -X POST -d '{"user": "admin", "passwd":"12345678"}' https://proxy.mimvp.com/login
从文件somedata.txt文件中读取数据进行post请求
curl -d "@somedata.txt" http://www.baidu.com