Created
May 24, 2012 14:58
-
-
Save jbgo/2782064 to your computer and use it in GitHub Desktop.
XML API requests with curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You can pipe the response to xmllint to format it so you can read it | |
curl -X POST -d @postdata.xml http://some_url.xml | xmllint --format - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment