curl -X POST -H ‘content-type:application/xml’ -d @/home/dcos/myFile.xml http://29.148.145.17:31001/MtUrl/mtInsure
其中/home/docs/myFile.xml 是入参报文 存放到当前访问服务器自己指定一个位置就好
参数少 可采用 curl -d name=john passwd=@31&3*J https://www.mysite.com
curl -X POST -H ‘content-type:application/xml’ -d @/home/dcos/myFile.xml http://29.148.145.17:31001/MtUrl/mtInsure
其中/home/docs/myFile.xml 是入参报文 存放到当前访问服务器自己指定一个位置就好
参数少 可采用 curl -d name=john passwd=@31&3*J https://www.mysite.com