1
votes

I am new to Azure logic Apps

I want to create a logic App connector "when an HTTP request is a received" which should handle GET, POST, PUT, Delete as a single Logic APP.

Or

Is there a way that I will create logic App connector "when an HTTP request is a received" for every request and I would be able to share a single API to call those.

2

2 Answers

5
votes

You have two basic options.

  1. Create 5 Logic Apps. 1 for each Verb, then one that does the actual work. Each of the Verb Logic would call the work Logic App internally.

  2. Use Azure API Management to create the 4 Verb endpoints which each redirect to a single Logic App, changing the Verb internally.

2
votes

Create an azure function that will accept any of those verbs and have it route requests to the intended logic app.