Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save practicalli-johnny/6020098 to your computer and use it in GitHub Desktop.
Save practicalli-johnny/6020098 to your computer and use it in GitHub Desktop.
A simple cURL call that creates an application on Heroku. The command used the -n option that reads the ~/.netrc file that contains login credentials created when you run heroku login using the Heroku toolbelt.
curl -n -X POST https://api.heroku.com/apps -H "Accept: application/vnd.heroku+json; version=3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment