Skip to content

Commit db39b16

Browse files
authored
Merge pull request #280683 from ecfan/postman
[Security] Postman - Update guidance for suitable replacements
2 parents 402e04f + 5fff3df commit db39b16

25 files changed

+240
-212
lines changed

articles/connectors/connectors-native-reqres.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ This how-to guide shows create a logic app workflow that can receive and handle
1616

1717
> [!NOTE]
1818
>
19-
> The Response action works only when you use the Request trigger.
19+
> The Response action works only when you use the **Request** trigger.
2020
21-
For example, this list describes some tasks that your workflow can perform when you use the Request trigger and Response action:
21+
For example, this list describes some tasks that your workflow can perform when you use the **Request** trigger and Response action:
2222

2323
* Receive and respond to an HTTPS request for data in an on-premises database.
2424

@@ -32,13 +32,15 @@ To run your workflow by sending an outgoing or outbound request instead, use the
3232

3333
* An Azure account and subscription. If you don't have a subscription, you can [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
3434

35-
* The logic app workflow where you want to receive the inbound HTTPS request. To start your workflow with a Request trigger, you have to start with a blank workflow. To use the Response action, your workflow must start with the Request trigger.
35+
* The logic app workflow where you want to receive the inbound HTTPS request. To start your workflow with a **Request** trigger, you have to start with a blank workflow. To use the Response action, your workflow must start with the **Request** trigger.
36+
37+
[!INCLUDE [postman-replacements-bullet](../../includes/postman-replacements-bullet.md)]
3638

3739
<a name="add-request-trigger"></a>
3840

3941
## Add a Request trigger
4042

41-
The Request trigger creates a manually callable endpoint that handles *only* inbound requests over HTTPS. When the caller sends a request to this endpoint, the Request trigger fires and runs the workflow. For information about how to call this trigger, review [Call, trigger, or nest workflows with HTTPS endpoints in Azure Logic Apps](../logic-apps/logic-apps-http-endpoint.md).
43+
The **Request** trigger creates a manually callable endpoint that handles *only* inbound requests over HTTPS. When the caller sends a request to this endpoint, the **Request** trigger fires and runs the workflow. For information about how to call this trigger, review [Call, trigger, or nest workflows with HTTPS endpoints in Azure Logic Apps](../logic-apps/logic-apps-http-endpoint.md).
4244

4345
## [Consumption](#tab/consumption)
4446

@@ -51,7 +53,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
5153
| Property name | JSON property name | Required | Description |
5254
|---------------|--------------------|----------|-------------|
5355
| **HTTP POST URL** | {none} | Yes | The endpoint URL that's generated after you save your workflow and is used for sending a request that triggers your workflow. |
54-
| **Request Body JSON Schema** | `schema` | No | The JSON schema that describes the properties and values in the incoming request body. The designer uses this schema to generate tokens for the properties in the request. That way, your workflow can parse, consume, and pass along outputs from the Request trigger into your workflow. <br><br>If you don't have a JSON schema, you can generate the schema from a sample payload by using the **Use sample payload to generate schema** capability. |
56+
| **Request Body JSON Schema** | `schema` | No | The JSON schema that describes the properties and values in the incoming request body. The designer uses this schema to generate tokens for the properties in the request. That way, your workflow can parse, consume, and pass along outputs from the **Request** trigger into your workflow. <br><br>If you don't have a JSON schema, you can generate the schema from a sample payload by using the **Use sample payload to generate schema** capability. |
5557

5658
The following example shows a sample JSON schema:
5759

@@ -115,7 +117,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
115117

116118
To generate a JSON schema that's based on the expected payload (data), you can use a tool such as [JSONSchema.net](https://jsonschema.net), or you can follow these steps:
117119

118-
1. In the Request trigger, select **Use sample payload to generate schema**.
120+
1. In the **Request** trigger, select **Use sample payload to generate schema**.
119121

120122
![Screenshot showing Consumption workflow, Request trigger, and "Use sample payload to generate schema" selected.](./media/connectors-native-reqres/generate-from-sample-payload-consumption.png)
121123

@@ -161,7 +163,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
161163
}
162164
```
163165

164-
1. In the Request trigger's title bar, select the ellipses button (**...**).
166+
1. In the **Request** trigger's title bar, select the ellipses button (**...**).
165167

166168
1. In the trigger's settings, turn on **Schema Validation**, and select **Done**.
167169

@@ -193,7 +195,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
193195
> [!NOTE]
194196
>
195197
> If you want to include the hash or pound symbol (**#**) in the URI
196-
> when making a call to the Request trigger, use this encoded version instead: `%25%23`
198+
> when making a call to the **Request** trigger, use this encoded version instead: `%25%23`
197199

198200
## [Standard](#tab/standard)
199201

@@ -206,7 +208,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
206208
| Property name | JSON property name | Required | Description |
207209
|---------------|--------------------|----------|-------------|
208210
| **HTTP POST URL** | {none} | Yes | The endpoint URL that's generated after you save your workflow and is used for sending a request that triggers your workflow. |
209-
| **Request Body JSON Schema** | `schema` | No | The JSON schema that describes the properties and values in the incoming request body. The designer uses this schema to generate tokens for the properties in the request. That way, your workflow can parse, consume, and pass along outputs from the Request trigger into your workflow. <br><br>If you don't have a JSON schema, you can generate the schema from a sample payload by using the **Use sample payload to generate schema** capability. |
211+
| **Request Body JSON Schema** | `schema` | No | The JSON schema that describes the properties and values in the incoming request body. The designer uses this schema to generate tokens for the properties in the request. That way, your workflow can parse, consume, and pass along outputs from the **Request** trigger into your workflow. <br><br>If you don't have a JSON schema, you can generate the schema from a sample payload by using the **Use sample payload to generate schema** capability. |
210212

211213
The following example shows a sample JSON schema:
212214

@@ -270,7 +272,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
270272

271273
To generate a JSON schema that's based on the expected payload (data), you can use a tool such as [JSONSchema.net](https://jsonschema.net), or you can follow these steps:
272274

273-
1. In the Request trigger, select **Use sample payload to generate schema**.
275+
1. In the **Request** trigger, select **Use sample payload to generate schema**.
274276

275277
![Screenshot showing Standard workflow, Request trigger, and "Use sample payload to generate schema" selected.](./media/connectors-native-reqres/generate-from-sample-payload-standard.png)
276278

@@ -316,7 +318,7 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
316318
}
317319
```
318320

319-
1. On the designer, select the Request trigger. On the information pane that opens, select the **Settings** tab.
321+
1. On the designer, select the **Request** trigger. On the information pane that opens, select the **Settings** tab.
320322

321323
1. Expand **Data Handling**, and set **Schema Validation** to **On**.
322324

@@ -348,12 +350,12 @@ The Request trigger creates a manually callable endpoint that handles *only* inb
348350
> [!NOTE]
349351
>
350352
> If you want to include the hash or pound symbol (**#**) in the URI
351-
> when making a call to the Request trigger, use this encoded version instead: `%25%23`
353+
> when making a call to the **Request** trigger, use this encoded version instead: `%25%23`
352354
>
353-
> The URL for the Request trigger is associated with your workflow's storage account. This URL
355+
> The URL for the **Request** trigger is associated with your workflow's storage account. This URL
354356
> changes if the storage account changes. For example, with Standard logic apps, if you manually
355357
> change your storage account and copy your workflow to the new storage account, the URL for
356-
> the Request trigger also changes to reflect the new storage account. The same workflow has a different URL.
358+
> the **Request** trigger also changes to reflect the new storage account. The same workflow has a different URL.
357359

358360
---
359361

@@ -370,7 +372,7 @@ For information about security, authorization, and encryption for inbound calls
370372

371373
## Trigger outputs
372374

373-
The following table lists the outputs from the Request trigger:
375+
The following table lists the outputs from the **Request** trigger:
374376

375377
| JSON property name | Data type | Description |
376378
|--------------------|-----------|-------------|
@@ -381,7 +383,7 @@ The following table lists the outputs from the Request trigger:
381383

382384
## Add a Response action
383385

384-
When you use the Request trigger to receive inbound requests, you can model the response and send the payload results back to the caller by using the Response built-in action, which works *only* with the Request trigger. This combination with the Request trigger and Response action creates the [request-response pattern](https://en.wikipedia.org/wiki/Request%E2%80%93response). Except for inside Foreach loops and Until loops, and parallel branches, you can add the Response action anywhere in your workflow.
386+
When you use the **Request** trigger to receive inbound requests, you can model the response and send the payload results back to the caller by using the Response built-in action, which works *only* with the **Request** trigger. This combination with the **Request** trigger and Response action creates the [request-response pattern](https://en.wikipedia.org/wiki/Request%E2%80%93response). Except for inside Foreach loops and Until loops, and parallel branches, you can add the Response action anywhere in your workflow.
385387

386388
> [!IMPORTANT]
387389
>
@@ -409,7 +411,7 @@ When you use the Request trigger to receive inbound requests, you can model the
409411

410412
1. On the workflow designer, [follow these general steps to find and add the Response built-in action named **Response**](../logic-apps/create-workflow-with-trigger-or-action.md?tabs=consumption#add-action).
411413

412-
For simplicity, the following examples show a collapsed Request trigger.
414+
For simplicity, the following examples show a collapsed **Request** trigger.
413415

414416
1. In the action information box, add the required values for the response message.
415417

@@ -463,13 +465,13 @@ When you use the Request trigger to receive inbound requests, you can model the
463465

464466
## Test your workflow
465467

466-
To test your workflow, send an HTTP request to the generated URL. For example, you can use local tools or apps such as [Insomnia](https://insomnia.rest/) or [Bruno](https://www.usebruno.com/) to send the HTTP request.
468+
To trigger your workflow, send an HTTP request to the URL generated for the **Request** trigger, including the method that the **Request** trigger expects, by using your HTTP request tool and its instructions.
467469

468-
For more information about the trigger's underlying JSON definition and how to call this trigger, see these topics, [Request trigger type](../logic-apps/logic-apps-workflow-actions-triggers.md#request-trigger) and [Call, trigger, or nest workflows with HTTP endpoints in Azure Logic Apps](../logic-apps/logic-apps-http-endpoint.md).
470+
For more information about the trigger's underlying JSON definition and how to call this trigger, see these topics, [**Request** trigger type](../logic-apps/logic-apps-workflow-actions-triggers.md#request-trigger) and [Call, trigger, or nest workflows with HTTP endpoints in Azure Logic Apps](../logic-apps/logic-apps-http-endpoint.md).
469471

470472
## Security and authentication
471473

472-
In a Standard logic app workflow that starts with the Request trigger (but not a webhook trigger), you can use the Azure Functions provision for authenticating inbound calls sent to the endpoint created by that trigger by using a managed identity. This provision is also known as "**Easy Auth**". For more information, review [Trigger workflows in Standard logic apps with Easy Auth](https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/trigger-workflows-in-standard-logic-apps-with-easy-auth/ba-p/3207378).
474+
In a Standard logic app workflow that starts with the **Request** trigger (but not a webhook trigger), you can use the Azure Functions provision for authenticating inbound calls sent to the endpoint created by that trigger by using a managed identity. This provision is also known as "**Easy Auth**". For more information, review [Trigger workflows in Standard logic apps with Easy Auth](https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/trigger-workflows-in-standard-logic-apps-with-easy-auth/ba-p/3207378).
473475

474476
For more information about security, authorization, and encryption for inbound calls to your logic app workflow, such as [Transport Layer Security (TLS)](https://en.wikipedia.org/wiki/Transport_Layer_Security), previously known as Secure Sockets Layer (SSL), [Microsoft Entra ID Open Authentication (Microsoft Entra ID OAuth)](../active-directory/develop/index.yml), exposing your logic app with Azure API Management, or restricting the IP addresses that originate inbound calls, see [Secure access and data - Access for inbound calls to request-based triggers](../logic-apps/logic-apps-securing-a-logic-app.md#secure-inbound-requests).
475477

0 commit comments

Comments
 (0)