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
|apply|The attribute must be set to one of the following values.<br /><br /> - always - always apply conversion.<br />- content-type-json - convert only if response Content-Type header indicates presence of JSON.|Yes|N/A|
76
-
|consider-accept-header|The attribute must be set to one of the following values.<br /><br /> - true - apply conversion if JSON is requested in request Accept header.<br />- false -always apply conversion.|No|true|
76
+
|consider-accept-header|The attribute must be set to one of the following values.<br /><br /> - true - apply conversion if XML is requested in request Accept header.<br />- false -always apply conversion.|No|true|
77
77
|parse-date|When set to `false` date values are simply copied during transformation|No|true|
78
78
79
79
### Usage
@@ -118,7 +118,7 @@ This topic provides a reference for the following API Management policies. For i
|kind|The attribute must be set to one of the following values.<br /><br /> - javascript-friendly - the converted JSON has a form friendly to JavaScript developers.<br />- direct - the converted JSON reflects the original XML document's structure.|Yes|N/A|
120
120
|apply|The attribute must be set to one of the following values.<br /><br /> - always - convert always.<br />- content-type-xml - convert only if response Content-Type header indicates presence of XML.|Yes|N/A|
121
-
|consider-accept-header|The attribute must be set to one of the following values.<br /><br /> - true - apply conversion if XML is requested in request Accept header.<br />- false -always apply conversion.|No|true|
121
+
|consider-accept-header|The attribute must be set to one of the following values.<br /><br /> - true - apply conversion if JSON is requested in request Accept header.<br />- false -always apply conversion.|No|true|
122
122
123
123
### Usage
124
124
This policy can be used in the following policy [sections](https://azure.microsoft.com/documentation/articles/api-management-howto-policies/#sections) and [scopes](https://azure.microsoft.com/documentation/articles/api-management-howto-policies/#scopes).
0 commit comments