Azure

Create an Azure Logic App and Take a look at It Utilizing Postman

Introduction 

 

The Azure Logic app principally accommodates a set off and an motion. If a specified set off is triggered, then a talked about motion will likely be carried out.

 

Steps 

 

To create a Logic App you need to create Azure Account on right here.

 

Register to the portal and choose Logic Apps

 

 

 

It’ll redirect you to the beneath display.

 

 

Create An Azure Logic App And Test It Using Postman

Click on on the Create Logic App

 

Create An Azure Logic App And Test It Using Postman

 

Fill the small print reminiscent of Subscription, Useful resource Group (Click on on Create New so as to add a brand new one), Specify the logic app identify, location after which click on on Evaluation + create

 

On the subsequent display, click on Create. Then the app will likely be created. Now click on on the Clean Logic App button.

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Then, the Editor display will open like this:

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Then sort a Request within the set off textual content field and add a request set off with motion “When an HTTP request is acquired”.

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Then the HTTP Request set off will likely be added to the designer. 

 

Set Methodology as “GET” and examine the “Relative Path” checkbox.

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Then sort {Age} within the textual content field.

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Click on on the Subsequent Step button and add Management set off with motion Situation.

 

Then sort the beneath string within the textual content field

 


int(triggerOutputs()[‘relativePathParameters’][‘Age’]) 

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Then, choose is bigger than or… situation from the checklist.

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Set the worth as 65.

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Then click on on “Add an motion” in if it is the true part, and choose the “Response” motion.

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Then give the physique the textual content, “Your age is bigger than 65”

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Then add the identical motion for if false part and provides physique “Your age is lower than 65”

 

Now click on on the Save button to the identical logic app on Azure. Then click on on the Edit button to edit the logic app in Edit mode. Then copy auto-the generated HTTP to get your URL.

 

 

Create An Azure Logic App And Test It Using Postman 

 

 

Then paste this URL in Postman and exchange {Age} with the worth “30” within the URL.

 

 

Create An Azure Logic App And Test It Using Postman

 

 

Choose the strategy “GET” and click on on the Ship button to ship a request.

 

For this request, you’re going to get the beneath output. 

 

 

Create An Azure Logic App And Test It Using Postman

 

 

In case your age is bigger than 65, then you’re going to get the beneath output.

 

 

Create An Azure Logic App And Test It Using Postman

Tags
Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Close