Created
July 25, 2013 10:06
-
-
Save natritmeyer/6078425 to your computer and use it in GitHub Desktop.
PUT some XML at a resource using 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
curl -H 'Content-Type:application/xml' -X PUT -d '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><thing></thing>' http://192.168.0.1:8080/some/resource/ --user admin:password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment