azureazure-logic-appsazure-http-trigger

Using Azure Logic App HTTP Action with many endpoints


I'm using an HTTP Action inside an Azure Logic App. I want to send requests to an adress www.example.com with many endpoints (\1, \2 ..).

I don't want to create an HTTP Action for every endpoint, so is there any way to specify all those endpoints in a file and use a kind of lood in that action?

Thank you


Solution

  • Multiples end points mydomain dot com /Java, /Csharp, / Js

    You follow blew steps.

    1. Create array object.
    [
    {"language":"Java","Book":"P.K Sharma"},
    {"language":"CSharp","Book":"S.K Sharma"},
    {"language":"JS","Book":"J.K Sharma"}
    ]
    
    1. Initialize variable.
    2. Create variable. enter image description here
    3. For each loop enter image description here
    4. Add action in for each loop. enter image description here
    5. Http action enter image description here

    More information on Call, trigger, or nest logic apps by using HTTPS endpoints in Azure Logic Apps by Microsoft Documents.