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
CodePudding user response:
Multiples end points mydomain dot com /Java, /Csharp, / Js
You follow blew steps.
- Create array object.
[
{"language":"Java","Book":"P.K Sharma"},
{"language":"CSharp","Book":"S.K Sharma"},
{"language":"JS","Book":"J.K Sharma"}
]
- Initialize variable.
- Create variable.
- For each loop
- Add action in for each loop.
- Http action
More information on Call, trigger, or nest logic apps by using HTTPS endpoints in Azure Logic Apps by Microsoft Documents.