Skip to content

Instantly share code, notes, and snippets.

@naaman

naaman/h3.sh

Created Apr 14, 2014
Embed
What would you like to do?
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