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 ...

Get Heroku Cloud Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.