Skip to content

Commit dcc9039

Browse files
committed
Add other headers that get dropped
1 parent 7b7849c commit dcc9039

File tree

2 files changed

+43
-17
lines changed

2 files changed

+43
-17
lines changed

articles/connectors/connectors-native-http.md

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,43 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: klam, logicappspm
77
ms.topic: conceptual
8-
ms.date: 03/11/2020
8+
ms.date: 03/12/2020
99
tags: connectors
1010
---
1111

1212
# Call service endpoints over HTTP or HTTPS from Azure Logic Apps
1313

1414
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).
1515

16-
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.
17-
18-
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.
19-
2016
> [!NOTE]
2117
> Based the target endpoint's capability, the HTTP connector supports Transport Layer Security (TLS)
2218
> versions 1.0, 1.1, and 1.2. Logic Apps negotiates with the endpoint over using the highest supported
23-
> version possible. So, for example, if the endpoint supports 1.2, the connector uses 1.2 first.
19+
> version possible. So for example, if the endpoint supports 1.2, the connector uses 1.2 first.
2420
> Otherwise, the connector uses the next highest supported version.
21+
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.
23+
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.
25+
26+
> [!IMPORTANT]
27+
> When an HTTP trigger or action sends a `GET` request or doesn't have a request body,
28+
> Logic Apps removes these headers when included, but without warning or error:
29+
>
30+
> * `Accept-*`
31+
> * `Allow`
32+
> * `Content-*`
33+
> * `Cookie`
34+
> * `Expires`
35+
> * `Host`
36+
> * `Last-Modified`
37+
> * `Origin`
38+
> * `Set-Cookie`
39+
> * `Transfer-Encoding`
2540
>
26-
> If the HTTP trigger or action sends a `GET` request or doesn't have a request body, Logic Apps
27-
> removes any `Content-*` headers from the request without warning or error. Although Logic Apps
28-
> won't stop you from saving logic apps where an HTTP trigger or action is set up this way,
29-
> any `Content-*` headers are ignored. This behavior doesn't happen to any other requests,
30-
> such as `PUT` and `POST`, that have request bodies and `Content-*` headers.
41+
> Although Logic Apps won't stop you from saving logic apps that use an HTTP trigger
42+
> or action with these headers, Logic Apps ignores these headers. This behavior
43+
> doesn't apply to other request types, such as `PUT` and `POST`, as long as these
44+
> requests include request bodies.
3145
3246
This article shows how to add an HTTP trigger or action to your logic app's workflow.
3347

articles/connectors/connectors-native-reqres.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewers: klam, logicappspm
77
ms.topic: conceptual
8-
ms.date: 03/10/2020
8+
ms.date: 03/12/2020
99
tags: connectors
1010
---
1111

@@ -199,11 +199,23 @@ You can use the Response action to respond with a payload (data) to an incoming
199199

200200
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.
201201

202-
> [!NOTE]
203-
> If the Response action doesn't have a response body, Logic Apps removes any `Content-*` headers
204-
> that aren't `Content-Type`, `Content-Encoding`, or `Content-Disposition` without warning or error.
205-
> Although Logic Apps also won't stop you from saving logic apps where the Response action is set up
206-
> in this way, non-exempt `Content-*` headers are ignored.
202+
> [!IMPORTANT]
203+
> If the Response action doesn't have a response body, Logic Apps removes
204+
> these headers when included, but without warning or error:
205+
>
206+
> * `Accept-*`
207+
> * `Allow`
208+
> * `Content-*` with these exceptions: `Content-Type`, `Content-Encoding`, and `Content-Disposition`
209+
> * `Cookie`
210+
> * `Expires`
211+
> * `Host`
212+
> * `Last-Modified`
213+
> * `Origin`
214+
> * `Set-Cookie`
215+
> * `Transfer-Encoding`
216+
>
217+
> Although Logic Apps won't stop you from saving logic apps that use a
218+
> Response action with these headers, Logic Apps ignores these headers.
207219

208220
1. In the Logic App Designer, under the step where you want to add a Response action, select **New step**.
209221

0 commit comments

Comments
 (0)