https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-policies
<policies>
<inbound>
<!-- statements to be applied to the request go here -->
</inbound>
<backend>
<!-- statements to be applied before the request is forwarded to
the backend service go here -->
</backend>
<outbound>
<!-- statements to be applied to the response go here -->
</outbound>
<on-error>
<!-- statements to be applied if there is an error condition go here -->
</on-error>
</policies> 我们什么时候在策略中使用后端部分?
看起来使用设置后端url也仅在<inbound>节点上完成。
耽误您时间,实在对不起。
发布于 2019-01-06 04:21:49
该部分用于在将请求转发到后端之前对其进行任何转换\检查,例如,我向请求添加头部并验证oauth令牌。
https://stackoverflow.com/questions/54055822
复制相似问题