Curl command line for consuming webServices?

后端 未结 5 1037
野性不改
野性不改 2020-12-23 02:19

Do you guys know how I can use the Curl command line to POST SOAP to test a web service?

I have a file (soap.xml) which has all the soap message attached to it I jus

5条回答
  •  Happy的楠姐
    2020-12-23 02:29

    curl -H "Content-Type: text/xml; charset=utf-8" \
    -H "SOAPAction:" \
    -d @soap.txt -X POST http://someurl
    

提交回复
热议问题