You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/connectors/connectors-native-http.md
+37-11Lines changed: 37 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,47 @@
1
1
---
2
-
title: Call HTTP and HTTPS endpoints
3
-
description: Send outgoing requests to HTTP and HTTPS endpoints by using Azure Logic Apps
2
+
title: Call service endpoints by using HTTP or HTTPS
3
+
description: Send outbound HTTP or HTTPS requests to service endpoints from Azure Logic Apps
4
4
services: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewer: klam, logicappspm
7
7
ms.topic: conceptual
8
-
ms.date: 07/05/2019
8
+
ms.date: 03/12/2020
9
9
tags: connectors
10
10
---
11
11
12
-
# Send outgoing calls to HTTP or HTTPS endpoints by using Azure Logic Apps
12
+
# Call service endpoints over HTTP or HTTPS from Azure Logic Apps
13
13
14
-
With [Azure Logic Apps](../logic-apps/logic-apps-overview.md) and the built-in HTTP trigger or action, you can create automated tasks and workflows that regularly send requests to any HTTP or HTTPSendpoint. To receive and respond to incoming HTTP or HTTPS calls instead, use the built-in [Request trigger or Response action](../connectors/connectors-native-reqres.md).
14
+
With [Azure Logic Apps](../logic-apps/logic-apps-overview.md) and the built-in HTTP trigger or action, you can create automated tasks and workflows that send requests to service endpoints over HTTP or HTTPS. For example, you can monitor the service endpoint for your website by checking that endpoint on a specific schedule. When the specified event happens at that endpoint, such as your website going down, the event triggers your logic app's workflow and runs the actions in that workflow. If you want to receive and respond to inbound HTTPS calls instead, use the built-in [Request trigger or Response action](../connectors/connectors-native-reqres.md).
15
15
16
-
For example, you can monitor the service endpoint for your website by checking that endpoint on a specified schedule. When a specific event happens at that endpoint, such as your website going down, the event triggers your logic app's workflow and runs the specified actions.
16
+
> [!NOTE]
17
+
> Based the target endpoint's capability, the HTTP connector supports Transport Layer Security (TLS)
18
+
> versions 1.0, 1.1, and 1.2. Logic Apps negotiates with the endpoint over using the highest supported
19
+
> version possible. So for example, if the endpoint supports 1.2, the connector uses 1.2 first.
20
+
> Otherwise, the connector uses the next highest supported version.
17
21
18
-
To check or *poll* an endpoint on a regular schedule, you can use the HTTP trigger as the first step in your workflow. On each check, the trigger sends a call or *request* to the endpoint. The endpoint's response determines whether your logic app's workflow runs. The trigger passes along any content from the response to the actions in your logic app.
22
+
To check or *poll* an endpoint on a recurring schedule, [add the HTTP trigger](#http-trigger) as the first step in your workflow. Each time that the trigger checks the endpoint, the trigger calls or sends a *request* to the endpoint. The endpoint's response determines whether your logic app's workflow runs. The trigger passes any content from the endpoint's response to the actions in your logic app.
19
23
20
-
You can use the HTTP action as any other step in your workflow for calling the endpoint when you want. The endpoint's response determines how your workflow's remaining actions run.
24
+
To call an endpoint from anywhere else in your workflow, [add the HTTP action](#http-action). The endpoint's response determines how your workflow's remaining actions run.
21
25
22
-
Based the target endpoint's capability, the HTTP connector supports Transport Layer Security (TLS) versions 1.0, 1.1, and 1.2. Logic Apps negotiates with the endpoint over using the highest supported version possible. So, for example, if the endpoint supports 1.2, the connector uses 1.2 first. Otherwise, the connector uses the next highest supported version.
26
+
> [!IMPORTANT]
27
+
> If an HTTP trigger or action includes these headers, Logic Apps removes these
28
+
> headers from the generated request message without showing any warning or error:
29
+
>
30
+
> *`Accept-*`
31
+
> *`Allow`
32
+
> *`Content-*` with these exceptions: `Content-Disposition`, `Content-Encoding`, and `Content-Type`
33
+
> *`Cookie`
34
+
> *`Expires`
35
+
> *`Host`
36
+
> *`Last-Modified`
37
+
> *`Origin`
38
+
> *`Set-Cookie`
39
+
> *`Transfer-Encoding`
40
+
>
41
+
> Although Logic Apps won't stop you from saving logic apps that use an
42
+
> HTTP trigger or action with these headers, Logic Apps ignores these headers.
43
+
44
+
This article shows how to add an HTTP trigger or action to your logic app's workflow.
23
45
24
46
## Prerequisites
25
47
@@ -31,13 +53,15 @@ Based the target endpoint's capability, the HTTP connector supports Transport La
31
53
32
54
* The logic app from where you want to call the target endpoint. To start with the HTTP trigger, [create a blank logic app](../logic-apps/quickstart-create-first-logic-app-workflow.md). To use the HTTP action, start your logic app with any trigger that you want. This example uses the HTTP trigger as the first step.
33
55
56
+
<aname="http-trigger"></a>
57
+
34
58
## Add an HTTP trigger
35
59
36
60
This built-in trigger makes an HTTP call to the specified URL for an endpoint and returns a response.
37
61
38
62
1. Sign in to the [Azure portal](https://portal.azure.com). Open your blank logic app in Logic App Designer.
39
63
40
-
1. Under **Choose an action**, in the search box, enter "http" as your filter. From the **Triggers** list, select the **HTTP** trigger.
64
+
1. Under the designer's search box, select **Built-in**. In the search box, enter `http` as your filter. From the **Triggers** list, select the **HTTP** trigger.
@@ -58,6 +82,8 @@ This built-in trigger makes an HTTP call to the specified URL for an endpoint an
58
82
59
83
1. When you're done, remember to save your logic app. On the designer toolbar, select **Save**.
60
84
85
+
<aname="http-action"></a>
86
+
61
87
## Add an HTTP action
62
88
63
89
This built-in action makes an HTTP call to the specified URL for an endpoint and returns a response.
@@ -70,7 +96,7 @@ This built-in action makes an HTTP call to the specified URL for an endpoint and
70
96
71
97
To add an action between steps, move your pointer over the arrow between steps. Select the plus sign (**+**) that appears, and then select **Add an action**.
72
98
73
-
1. Under **Choose an action**, in the search box, enter "http" as your filter. From the **Actions** list, select the **HTTP** action.
99
+
1. Under **Choose an action**, select **Built-in**. In the search box, enter `http` as your filter. From the **Actions** list, select the **HTTP** action.
Copy file name to clipboardExpand all lines: articles/connectors/connectors-native-reqres.md
+19-4Lines changed: 19 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
-
title: Receive and respond to HTTPS calls
3
-
description: Handle HTTPS requests and events in real time by using Azure Logic Apps
2
+
title: Receive and respond to calls by using HTTPS
3
+
description: Handle inbound HTTPS requests from external services by using Azure Logic Apps
4
4
services: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewers: klam, logicappspm
7
7
ms.topic: conceptual
8
-
ms.date: 01/14/2020
8
+
ms.date: 03/12/2020
9
9
tags: connectors
10
10
---
11
11
12
-
# Receive and respond to incoming HTTPS calls by using Azure Logic Apps
12
+
# Receive and respond to inbound HTTPS requests in Azure Logic Apps
13
13
14
14
With [Azure Logic Apps](../logic-apps/logic-apps-overview.md) and the built-in Request trigger or Response action, you can create automated tasks and workflows that receive and respond to incoming HTTPS requests. For example, you can have your logic app:
15
15
@@ -199,6 +199,21 @@ You can use the Response action to respond with a payload (data) to an incoming
199
199
200
200
Your logic app keeps the incoming request open only for one minute. Assuming that your logic app workflow includes a Response action, if the logic app doesn't return a response after this time passes, your logic app returns a `504 GATEWAY TIMEOUT` to the caller. Otherwise, if your logic app doesn't include a Response action, your logic app immediately returns a `202 ACCEPTED` response to the caller.
201
201
202
+
> [!IMPORTANT]
203
+
> If a Response action includes these headers, Logic Apps removes these headers
204
+
> from the generated response message without showing any warning or error:
205
+
>
206
+
> * `Allow`
207
+
> * `Content-*` with these exceptions: `Content-Disposition`, `Content-Encoding`, and `Content-Type`
208
+
> * `Cookie`
209
+
> * `Expires`
210
+
> * `Last-Modified`
211
+
> * `Set-Cookie`
212
+
> * `Transfer-Encoding`
213
+
>
214
+
> Although Logic Apps won't stop you from saving logic apps that have a
215
+
> Response action with these headers, Logic Apps ignores these headers.
216
+
202
217
1. In the Logic App Designer, under the step where you want to add a Response action, select **New step**.
203
218
204
219
For example, using the Request trigger from earlier:
0 commit comments