How to send SOAP request with curl

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
leonidv About 6 years ago