Skip to content

Instantly share code, notes, and snippets.

@leostratus
Created September 18, 2012 17:24
Show Gist options
  • Save leostratus/3744446 to your computer and use it in GitHub Desktop.
Save leostratus/3744446 to your computer and use it in GitHub Desktop.
curl - command to retrieve tidy XML from an API endpoint in your terminal
curl -v -X GET "https://someAPIendpoint.com/?getStuff" | tidy -xml -utf8 -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment