Tools, FAQ, Tutorials:
'set-backend-service' Policy Statement
How to use the "set-backend-service" Policy Statement for an Azure API service operation?
✍: FYIcenter.com
The "set-backend-service" Policy Statement is actually overriding
the API setting "Web service URL" to specify the backend service base URL.
For example, if you create an API with the following settings:
FYIcenter.com User API Web service URL: http://dev.fyicenter.com/rest Web API URL: https://fyi.azure-api.net/v1/rest
You can override the above backend web service URL with the following "set-backend-service" statement in the inbound policy:
<inbound> <set-backend-service base-url="http://dev.fyicenter.com/v1/rest" /> </inbound>
⇒ 'rewrite-uri' Policy Statement
⇐ Policy to Control Backend Service
2017-12-04, 700👍, 0💬
Popular Posts:
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The a...
How to access Query String parameters from "context.Request.Url.Que ry"object in Azure API Policy? Q...
What is json.tool? Can I use it to convert a JSON string a pretty-print format? json.tool is a speci...
How to add request URL Template Parameters to my Azure API operation 2017 version to make it more us...
How to use the "send-request" Policy statement to call an extra web service for an Azure API service...