使用Curl命令Post XML如下:
XML文件
<getProfile>
<account>foo@CMCC</account>
</getProfile>
<account>foo@CMCC</account>
</getProfile>
echo '<getProfile><account>foo@CMCC</account></getProfile>' | curl -X POST -H 'Content-type: text/xml' -d @- http://119.145.0.78:8082/jil?op=GETPROFILE