Skip to content

Instantly share code, notes, and snippets.

@abahgat
Last active December 17, 2015 02:58
Show Gist options
  • Save abahgat/5539261 to your computer and use it in GitHub Desktop.
Save abahgat/5539261 to your computer and use it in GitHub Desktop.
Send an XML request (stored in a file) to an URL (using curl)
curl -X POST -d @filename --header "Content-Type:text/xml" http://example.com/path/to/resource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment