Exposing OpenWhisk RESTful APIs with API Gateway

Click for: original source

Andrew Trice’s short blog post describing IBM’s API Gateway - the incredibly powerful, scalable, event-driven programming model for building actions (functions) using serverless computing.

API Gateway is IBM’s response to AWS API Gateway. The API gateway is an experimental new feature that enables you to easily expose your OpenWhisk actions as RESTful endpoints. You can assign actions to specific endpoints, and even have verbs (get, put, post, delete) from the same endpoint assigned to different actions - the API gateway gives you an easy path to expose your OpenWhisk actions to other non-credentialed applications.

Example code (JavaScript) with simple action is provided. Code and links to feature requests and feedback via github repo.

[Read More]

Tags serverless javascript IBM