我的入境政策如下
<choose>
<when condition="@((context.Request.Body != null) && context.Request.Body.As<JObject>
(preserveContent: true)["ChannelID"] != null)">
<set-header name="channelId" exists-action="override">
<value>"@(context.Request.Body.As&amp;amp;lt;JObject&amp;amp;gt;(preserveContent: true)
["ChannelID"])"</value>
</set-header>
</when>
</choose>
但是入站策略将 ChannelID 视为区分大小写。在请求正文中,如果我们作为 channelId 传递,则 ChannelID 属性不会被识别。
我们如何在入站策略中使属性名称不区分大小写?