Skip to content

Commit 0c9b2e3

Browse files
committed
Postman nested includes PoC
1 parent f456454 commit 0c9b2e3

6 files changed

+27
-17
lines changed

articles/azure-functions/durable/durable-functions-create-portal.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ If you are creating JavaScript Durable Functions, you'll need to install the [`d
7676

7777
1. Go back to the **HttpStart** function, choose **Get function Url**, and select the **Copy to clipboard** icon to copy the URL. You use this URL to start the **HelloSequence** function.
7878

79-
1. Use an HTTP tool like Postman or cURL to send a POST request to the URL that you copied. The following example is a cURL command that sends a POST request to the durable function:
79+
1. Use an HTTP test tool to send a POST request to the URL that you copied. The following example is a cURL command that sends a POST request to the durable function:
8080

8181
```bash
8282
curl -X POST https://{your-function-app-name}.azurewebsites.net/api/orchestrators/{functionName} --header "Content-Length: 0"
@@ -94,6 +94,8 @@ If you are creating JavaScript Durable Functions, you'll need to install the [`d
9494
}
9595
```
9696

97+
[!INCLUDE [api-test-http-request-tools-caution](../../../includes/api-test-http-request-tools-caution.md)]
98+
9799
1. Call the `statusQueryGetUri` endpoint URI and you see the current status of the durable function, which might look like this example:
98100

99101
```json

articles/azure-functions/durable/durable-functions-isolated-create-first-csharp.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ Azure Functions Core Tools gives you the capability to run an Azure Functions pr
111111

112112
:::image type="content" source="media/durable-functions-create-first-csharp/isolated-functions-vscode-debugging.png" alt-text="Screenshot of the Azure local output window." lightbox="media/durable-functions-create-first-csharp/isolated-functions-vscode-debugging.png":::
113113

114-
1. Use a tool like [Postman](https://www.getpostman.com/) or [cURL](https://curl.haxx.se/) to send an HTTP POST request to the URL endpoint.
114+
1. Use one of these HTTP test tools to send an HTTP POST request to the URL endpoint:
115+
116+
[!INCLUDE [api-test-http-request-tools](../../../includes/api-test-http-request-tools.md)]
115117

116118
The response is the HTTP function's initial result. It lets you know that the Durable Functions app orchestration started successfully. It doesn't yet display the end result of the orchestration. The response includes a few useful URLs.
117119

articles/azure-functions/durable/quickstart-java.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,11 @@ Azure Functions Core Tools gives you the capability to run an Azure Functions pr
355355

356356
:::image type="content" source="media/quickstart-java/maven-functions-run.png" alt-text="Screenshot of Azure local output.":::
357357

358-
1. Use a tool like [Postman](https://www.getpostman.com/) or [cURL](https://curl.haxx.se/) to send an HTTP POST request to the URL endpoint. The response should look similar to the following example:
358+
1. Use an HTTP test tool to send an HTTP POST request to the URL endpoint.
359+
360+
[!INCLUDE [api-test-http-request-tools-caution](../../../includes/api-test-http-request-tools-caution.md)]
361+
362+
The response should look similar to the following example:
359363

360364
```json
361365
{

includes/api-test-http-request-tools-bullet.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,4 @@ ms.date: 07/18/2024
1515
- [Bruno](https://www.usebruno.com/)
1616
- [Curl](https://curl.se/)
1717

18-
> [!CAUTION]
19-
>
20-
> For scenarios where you have sensitive data, such as credentials, secrets, access tokens,
21-
> API keys, and other similar information, make sure to use a tool that protects your data
22-
> with the necessary security features, works offline or locally, doesn't sync your data to
23-
> the cloud, and doesn't require that you sign in to an online account. This way, you reduce
24-
> the risk around exposing sensitive data to the public.
18+
[!INCLUDE [api-test-http-request-tools-caution](api-test-http-request-tools-caution.md)]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
ms.service: azure
3+
author: ecfan
4+
ms.author: estfan
5+
ms.topic: include
6+
ms.date: 08/06/2024
7+
# Caution portion of the generic text about tool options for API testing and sending HTTP requests.
8+
---
9+
> [!CAUTION]
10+
> For scenarios where you have sensitive data, such as credentials, secrets, access tokens,
11+
> API keys, and other similar information, make sure to use a tool that protects your data
12+
> with the necessary security features, works offline or locally, doesn't sync your data to
13+
> the cloud, and doesn't require that you sign in to an online account. This way, you reduce
14+
> the risk around exposing sensitive data to the public.

includes/api-test-http-request-tools.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,4 @@ ms.date: 07/18/2024
1313
- [Bruno](https://www.usebruno.com/)
1414
- [Curl](https://curl.se/)
1515

16-
> [!CAUTION]
17-
>
18-
> For scenarios where you have sensitive data, such as credentials, secrets, access tokens,
19-
> API keys, and other similar information, make sure to use a tool that protects your data
20-
> with the necessary security features, works offline or locally, doesn't sync your data to
21-
> the cloud, and doesn't require that you sign in to an online account. This way, you reduce
22-
> the risk around exposing sensitive data to the public.
16+
[!INCLUDE [api-test-http-request-tools-caution](api-test-http-request-tools-caution.md)]

0 commit comments

Comments
 (0)