I hereby claim:
- I am cirla on github.
- I am cirla (https://keybase.io/cirla) on keybase.
- I have a public key ASAi264kx1tyXq_rmv71OjSv41todu-t8PMpbbAP51351Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Bash function to curl an HTTP JSON API, print the headers, | |
| # and then print the body formatted using jq | |
| # | |
| # Example usage: jcurl https://api.github.com/users/cirla | |
| function jcurl() { | |
| # disable progress bar and print headers to stdout | |
| response=$(curl -sD - $@) | |
| # split response at the first empty line (ignoring whitespace) |