Skip to content

Commit d207d3f

Browse files
authored
Merge pull request #88173 from Hardell/patch-1
Fixing API Management cross-domain documentation
2 parents 7511f37 + ec39604 commit d207d3f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/api-management/api-management-cross-domain-policies.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ Use the `cross-domain` policy to make the API accessible from Adobe Flash and Mi
4040

4141
```xml
4242
<cross-domain>
43+
<cross-domain-policy>
4344
<allow-http-request-headers-from domain='*' headers='*' />
45+
</cross-domain-policy>
4446
</cross-domain>
4547
```
4648

@@ -54,7 +56,7 @@ Use the `cross-domain` policy to make the API accessible from Adobe Flash and Mi
5456
This policy can be used in the following policy [sections](./api-management-howto-policies.md#sections) and [scopes](./api-management-howto-policies.md#scopes).
5557

5658
- **Policy sections:** inbound
57-
- **Policy scopes:** all scopes
59+
- **Policy scopes:** global
5860

5961
## <a name="CORS"></a> CORS
6062
The `cors` policy adds cross-origin resource sharing (CORS) support to an operation or an API to allow cross-domain calls from browser-based clients.

0 commit comments

Comments
 (0)