Reputation: 206
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.
Upvotes: 1
Views: 1686
Reputation: 11040
You have two basic options.
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.
Use Azure API Management to create the 4 Verb endpoints which each redirect to a single Logic App, changing the Verb internally.
Upvotes: 5
Reputation: 60841
Create an azure function that will accept any of those verbs and have it route requests to the intended logic app.
Upvotes: 3