Skip to content

Instantly share code, notes, and snippets.

@miostreams
Forked from pawelztef/pretty_curl
Created July 11, 2018 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miostreams/283b80253f08b1d65294169eec905c6d to your computer and use it in GitHub Desktop.
Save miostreams/283b80253f08b1d65294169eec905c6d to your computer and use it in GitHub Desktop.
pretty_curl
#!/bin/bash
# install jq JSON processor
# apt isntall jq
pretty_curl() {
curl "$1" | jq
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment