How to send SOAP request with curl

Posted almost 5 years ago. Visible to the public.
curl -d @message.xml -H "Content-Type: text/xml; charset=utf-8"  "endpoint"

where:

  • message.xml - a file with the SOAP request
  • endpoint - the URL of the web-service endpoint
Posted by leonidv to Leonid's cards (2018-03-23 20:27)