Skip to content

Commit 90a0b3f

Browse files
authored
Merge pull request #247160 from dlepow/copymode
[APIM] Clarify copy mode in send-request policies
2 parents b093dbb + 034a9ba commit 90a0b3f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

articles/api-management/send-one-way-request-policy.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: dlepow
66

77
ms.service: api-management
88
ms.topic: article
9-
ms.date: 12/08/2022
9+
ms.date: 08/02/2023
1010
ms.author: danlep
1111
---
1212

@@ -33,7 +33,7 @@ The `send-one-way-request` policy sends the provided request to the specified UR
3333

3434
| Attribute | Description | Required | Default |
3535
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------- |
36-
| mode | Determines whether this is a `new` request or a `copy` of the current request. In outbound mode, `mode=copy` does not initialize the request body. Policy expressions are allowed. | No | `new` |
36+
| mode | Determines whether this is a `new` request or a `copy` of the headers and body in the current request. In the outbound policy section, `mode=copy` does not initialize the request body. Policy expressions are allowed. | No | `new` |
3737
| timeout| The timeout interval in seconds before the call to the URL fails. Policy expressions are allowed. | No | 60 |
3838

3939

@@ -46,6 +46,7 @@ The `send-one-way-request` policy sends the provided request to the specified UR
4646
| [set-header](set-header-policy.md) | Sets a header in the request. Use multiple `set-header` elements for multiple request headers. | No |
4747
| [set-body](set-body-policy.md) | Sets the body of the request. | No |
4848
| authentication-certificate | [Certificate to use for client authentication](authentication-certificate-policy.md), specified in a `thumbprint` attribute. | No |
49+
| [proxy](proxy-policy.md) | Routes request via HTTP proxy. | No |
4950

5051

5152
## Usage

articles/api-management/send-request-policy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: dlepow
66

77
ms.service: api-management
88
ms.topic: article
9-
ms.date: 12/08/2022
9+
ms.date: 08/02/2023
1010
ms.author: danlep
1111
---
1212

@@ -35,7 +35,7 @@ The `send-request` policy sends the provided request to the specified URL, waiti
3535

3636
| Attribute | Description | Required | Default |
3737
| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------- |
38-
| mode | Determines whether this is a `new` request or a `copy` of the current request. In outbound mode, `mode=copy` does not initialize the request body. Policy expressions are allowed. | No | `new` |
38+
| mode | Determines whether this is a `new` request or a `copy` of the headers and body in the current request. In the outbound policy section, `mode=copy` does not initialize the request body. Policy expressions are allowed. | No | `new` |
3939
| response-variable-name | The name of context variable that will receive a response object. If the variable doesn't exist, it will be created upon successful execution of the policy and will become accessible via [`context.Variable`](api-management-policy-expressions.md#ContextVariables) collection. Policy expressions are allowed. | Yes | N/A |
4040
| timeout | The timeout interval in seconds before the call to the URL fails. Policy expressions are allowed. | No | 60 |
4141
| ignore-error | If `true` and the request results in an error, the error will be ignored, and the response variable will contain a null value. Policy expressions aren't allowed. | No | `false` |
@@ -49,7 +49,7 @@ The `send-request` policy sends the provided request to the specified URL, waiti
4949
| [set-header](set-header-policy.md) | Sets a header in the request. Use multiple `set-header` elements for multiple request headers. | No |
5050
| [set-body](set-body-policy.md) | Sets the body of the request. | No |
5151
| authentication-certificate | [Certificate to use for client authentication](authentication-certificate-policy.md), specified in a `thumbprint` attribute. | No |
52-
| proxy | A [proxy](proxy-policy.md) policy statement. Used to route request via HTTP proxy | No |
52+
| [proxy](proxy-policy.md) | Routes request via HTTP proxy. | No |
5353

5454
## Usage
5555

0 commit comments

Comments
 (0)