Book Image

Heroku Cloud Application Development

By : Anubhav Hanjura
Book Image

Heroku Cloud Application Development

By: Anubhav Hanjura

Overview of this book

Table of Contents (17 chapters)
Heroku Cloud Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Your first Heroku Platform API call


Several client libraries are already available for making Heroku Platform API calls. Heroku natively supports the Heroics client library for Ruby. At the time of writing this text, there are client libraries available for Node.js, Scale, and Go.

Since the API clients use HTTP for interacting with the Heroku Platform API, all we need to create API support for a new programming language is an HTTP library with the required methods to send and receive requests to or from the platform API. Alternatively, we can use the curl tool to demonstrate the usage of the platform API. Armed with a Heroku account and an installed version of the curl tool, we will now experiment with a sample set of Heroku Platform APIs and show how one can easily and intuitively build Heroku apps programmatically. This is the third way of creating Heroku apps besides the Heroku CLI and the Heroku dashboard.

Before we get started

Well, before you can access the platform API, your client should...