Skip to content

Commit 09de5df

Browse files
Merge pull request #266215 from ecfan/patch-1
Azure Logic Apps: [GitHub 118217] Fix info about endpoint URL to call
2 parents d754bbc + 259e470 commit 09de5df

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

articles/logic-apps/logic-apps-http-endpoint.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: logic-apps
55
ms.reviewer: estfan, azla
66
ms.topic: how-to
77
ms.custom: engagement-fy23
8-
ms.date: 01/09/2024
8+
ms.date: 02/13/2024
99
---
1010

1111
# Create workflows that you can call, trigger, or nest using HTTPS endpoints in Azure Logic Apps
@@ -26,6 +26,8 @@ This guide shows how to create a callable endpoint for your workflow by adding t
2626

2727
* A logic app workflow where you want to use the request-based trigger to create the callable endpoint. You can start with either a blank workflow or an existing workflow where you can replace the current trigger. This example starts with a blank workflow.
2828

29+
* To test the URL for the callable endpoint that you create, you'll need a tool or app such as [Postman](https://www.postman.com/downloads/).
30+
2931
## Create a callable endpoint
3032

3133
Based on whether you have a Standard or Consumption logic app workflow, follow the corresponding steps:
@@ -92,18 +94,14 @@ Based on whether you have a Standard or Consumption logic app workflow, follow t
9294

9395
1. Save your workflow.
9496

95-
The **HTTP POST URL** box now shows the generated callback URL that other services can use to call and trigger your logic app. This URL includes query parameters that specify a Shared Access Signature (SAS) key, which is used for authentication.
97+
The **HTTP POST URL** box now shows the generated callback URL that other services can use to call and trigger your logic app workflow. This URL includes query parameters that specify a Shared Access Signature (SAS) key, which is used for authentication.
9698

9799
![Screenshot shows Standard workflow, Request trigger, and generated callback URL for endpoint.](./media/logic-apps-http-endpoint/endpoint-url-standard.png)
98100

99101
1. To copy the callback URL, you have these options:
100102

101103
* To the right of the **HTTP POST URL** box, select **Copy URL** (copy files icon).
102104

103-
* Make this call by using the method that the Request trigger expects. This example uses the `POST` method:
104-
105-
`POST https://management.azure.com/{logic-app-resource-ID}/triggers/{endpoint-trigger-name}/listCallbackURL?api-version=2016-06-01`
106-
107105
* Copy the callback URL from your workflow's **Overview** page.
108106

109107
1. On your workflow menu, select **Overview**.
@@ -112,6 +110,12 @@ Based on whether you have a Standard or Consumption logic app workflow, follow t
112110

113111
:::image type="content" source="./media/logic-apps-http-endpoint/find-trigger-url-standard.png" alt-text="Screenshot shows Standard workflow and Overview page with workflow URL." lightbox="./media/logic-apps-http-endpoint/find-trigger-url-standard.png":::
114112

113+
1. To test the callback URL that you now have for the Request trigger, use a tool or app such as [Postman](https://www.postman.com/downloads/), and send the request using the method that the Request trigger expects.
114+
115+
This example uses the `POST` method:
116+
117+
`POST https://{logic-app-name}.azurewebsites.net:443/api/{workflow-name}/triggers/{trigger-name}/invoke?api-version=2022-05-01&sp=%2Ftriggers%2F{trigger-name}%2Frun&sv=1.0&sig={shared-access-signature}`
118+
115119
### [Consumption](#tab/consumption)
116120

117121
1. In the [Azure portal](https://portal.azure.com), open your Consumption logic app resource and blank workflow in the designer.
@@ -174,18 +178,14 @@ Based on whether you have a Standard or Consumption logic app workflow, follow t
174178

175179
1. Save your workflow.
176180

177-
The **HTTP POST URL** box now shows the generated callback URL that other services can use to call and trigger your logic app. This URL includes query parameters that specify a Shared Access Signature (SAS) key, which is used for authentication.
181+
The **HTTP POST URL** box now shows the generated callback URL that other services can use to call and trigger your logic app workflow. This URL includes query parameters that specify a Shared Access Signature (SAS) key, which is used for authentication.
178182

179183
![Screenshot shows Consumption workflow, Request trigger, and generated callback URL for endpoint.](./media/logic-apps-http-endpoint/endpoint-url-consumption.png)
180184

181185
1. To copy the callback URL, you have these options:
182186

183187
* To the right of the **HTTP POST URL** box, select **Copy Url** (copy files icon).
184188

185-
* Make this call by using the method that the Request trigger expects. This example uses the `POST` method:
186-
187-
`POST https://management.azure.com/{logic-app-resource-ID}/triggers/{endpoint-trigger-name}/listCallbackURL?api-version=2016-06-01`
188-
189189
* Copy the callback URL from your logic app's **Overview** page.
190190

191191
1. On your logic app menu, select **Overview**.
@@ -194,6 +194,12 @@ Based on whether you have a Standard or Consumption logic app workflow, follow t
194194

195195
:::image type="content" source="./media/logic-apps-http-endpoint/find-trigger-url-consumption.png" alt-text="Screenshot shows Consumption logic app Overview page with workflow URL." lightbox="./media/logic-apps-http-endpoint/find-trigger-url-consumption.png":::
196196

197+
1. To test the callback URL that you now have for the Request trigger, use a tool or app such as [Postman](https://www.postman.com/downloads/), and send the request using the method that the Request trigger expects.
198+
199+
This example uses the `POST` method:
200+
201+
`POST https://{server-name}.{region}.logic.azure.com/workflows/{workflow-ID}/triggers/{trigger-name}/paths/invoke/?api-version=2016-10-01&sp=%2Ftriggers%2F{trigger-name}%2Frun&sv=1.0&sig={shared-access-signature}`
202+
197203
---
198204

199205
<a name="select-method"></a>

0 commit comments

Comments
 (0)