http://dasunhegoda.com/make-soap-request-command-line-curl/596/
cat XML/curl-format.txt
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
----------\n
time_total: %{time_total}\n
cat XML/curl-format.txt
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
----------\n
time_total: %{time_total}\n
curl --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction: NewXXXRequest" --data @xml1.xml -w "@curl-format.txt" http://dev.server.com/yourDataCatcher.php
Comments
Post a Comment