You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/api-management-howto-developer-portal.md
+13-23Lines changed: 13 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.service: api-management
12
12
ms.workload: mobile
13
13
ms.tgt_pltfrm: na
14
14
ms.topic: article
15
-
ms.date: 03/05/2020
15
+
ms.date: 03/15/2020
16
16
ms.author: apimpm
17
17
---
18
18
@@ -134,30 +134,20 @@ Most configuration changes (for example, VNet, sign-in and product terms) requir
134
134
135
135
### <aname="cors"></a> I'm getting a CORS error when using the interactive console
136
136
137
-
The interactive console makes a client-side API request from the browser. You can resolve the CORS problem by adding [a CORS policy](api-management-cross-domain-policies.md#CORS) on your API(s). You can specify all the parameters manually or use wildcard `*` values. For example:
138
-
139
-
```XML
140
-
<corsallow-credentials="true">
141
-
<allowed-origins>
142
-
<origin>https://contoso.com</origin>
143
-
</allowed-origins>
144
-
<allowed-methodspreflight-result-max-age="300">
145
-
<method>*</method>
146
-
</allowed-methods>
147
-
<allowed-headers>
148
-
<header>*</header>
149
-
</allowed-headers>
150
-
<expose-headers>
151
-
<header>*</header>
152
-
</expose-headers>
153
-
</cors>
154
-
```
137
+
The interactive console makes a client-side API request from the browser. Resolve the CORS problem by adding [a CORS policy](api-management-cross-domain-policies.md#CORS) on your API(s).
138
+
139
+
You can check the status of the CORS policy in the **Portal overview** section of your API Management service in the Azure portal. A warning box indicates an absent or misconfigured policy.
0 commit comments