Generate an API

When we have an API defined in the designer we can generate an HTTPS channel in Iguana to implement the API.

This works the best if you have an Iguana instance which you can access from the internet – especially as you add new calls incrementally to an existing project. But if you do not have time to do that, don’t worry – you can generate a ZIP file project which you can import into an Iguana channel instead.

The first video shows how to begin making use of the Hello World API by generating and starting a channel in Iguana to enable testing the API:

The next video shows how we can register the API with the designer and create an authorization token which can be used to send test messages to the API:

Next we will show how the back end of the API is implemented in Lua code and how you can put in the real business logic in the API.

Leave A Comment?