code_junkie

Curl command line for consuming webServices?

Nov 10th, 2011
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. curl -d "String to post" "http://www.example.com/target"
  2.  
  3. curl -d @soap.xml "http://www.example.com/target"
  4.  
  5. curl --header "content-type: application/soap+xml" --data @filetopost.xml http://domain/path
Add Comment
Please, Sign In to add comment