Skip to content

Instantly share code, notes, and snippets.

@naaman
Created April 14, 2014 16:54
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 naaman/10665023 to your computer and use it in GitHub Desktop.
Save naaman/10665023 to your computer and use it in GitHub Desktop.
Heroku API v3
h3 () {
domain=${HEROKU_API_URL:-"https://api.heroku.com"}
curl -n -k -H "Accept: application/vnd.heroku+json; version=3" ${domain}/$@
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment