Consume APIs with Azure Logic Apps
- Updated on 17 Apr 2019
- 1 minute to read
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.
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.