curl 带 body

 

curl -H "Content-Type:plain/text" -X POST -d '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><REQUEST>    <BUSINESS>        <BUSI_ID>2001000151301</BUSI_ID>        <SERVICE_CODE>checkBill</SERVICE_CODE>        <PARTNER_ID>200</PARTNER_ID>        <TRANS_TIME>20191123233306</TRANS_TIME>    </BUSINESS>    <PAY>        <BANKCODE>1499710422</BANKCODE>        <PREMIUM>445.0</PREMIUM>    </PAY></REQUEST>' http://10.4.3.20:8002/services/rest/core/business/entrance

 

posted @ 2019-11-23 23:46  xiluhua  阅读(6447)  评论(0编辑  收藏  举报