JSON cUrl

json_curl() { curl --header "Accept:application/json" "$@" | python -m json.tool; }

add the line in ~/.bash_aliases

Similar Posts:

Tagged ,

Leave a Reply

Your email address will not be published. Required fields are marked *