Wednesday, September 22, 2010

Posting XML to a Service Using Curl on Linux

Linux command line post of XML data to a specified URL.



curl -k --request POST --header "Content-type: text/xml" --data @request.xml URL > response.xml

No comments:

Post a Comment