Consume APIs with Azure Logic Apps
    • Dark
      Light
    • PDF

    Consume APIs with Azure Logic Apps

    • Dark
      Light
    • PDF

    Article Summary

    #ServerlessTips - Azure Logic Apps
    Author: Steef-Jan Wiggers Azure MVP

    With API Management you can secure Logic App Endpoints (HTTP(S)) as described in tip Securing Using API Management. Also, you can call defined API endpoints in API Management from a Logic App. Thus you are able through a Logic App action - consume APIs through API Management. The benefit from this approach is:

    • You do not have to worry about security details when calling the API
    • You also do not have to worry about matters such as CORS, format (XML, JSON), or anything else that can be dealt with using a policy.

    Within your Logic App, you can add an action to your workflow and choose API Management connector – one of the built-in connectors for Logic Apps. Subsequently, you select the API Management instance and what API you want to consume.
    Logic App Tip 23 - Consume APIs with Logic Apps Picture 1.png

    Next, when selecting the API, you choose the operation to execute from the Logic App action. Finally, you assign parameters the API requires for the execution – one or more parameters depending on the operation.

    With API Management connector you can consume external APIs from third-party systems, partners, or internally. An alternative to consuming APIs through API Management is by creating a custom connector.

    Logic Apps-2


    Was this article helpful?