Created
February 6, 2015 15:44
-
-
Save inirudebwoy/ffddb854ce537dd21053 to your computer and use it in GitHub Desktop.
Pretty print json in 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
function p_curl() { | |
{ | |
curl "$@" | |
}|python -mjson.tool | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment