Skip to content

Instantly share code, notes, and snippets.

@neilmiddleton
Last active December 20, 2015 00:19
Show Gist options
  • Save neilmiddleton/6040582 to your computer and use it in GitHub Desktop.
Save neilmiddleton/6040582 to your computer and use it in GitHub Desktop.
TUTORIAL_KEY=`(echo -n ":" ; heroku auth:token) | base64` ; echo $TUTORIAL_KEY
curl -X GET https://api.heroku.com/apps -H "Accept: application/vnd.heroku+json; version=3" -H "Authorization: $TUTORIAL_KEY"
curl -X GET https://api.heroku.com/apps/neilmiddleton/formation -H "Accept: application/vnd.heroku+json; version=3" -H "Authorization: $TUTORIAL_KEY"
heroku clients:create localhost http://localhost:5000/auth/heroku/callback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment