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, ∼7740🔥, 0💬
Popular Posts:
How to use the urllib.request.Request object to build more complex HTTP request? The urllib.request....
How to use 'choose ... when ..." policy statements to control execution flows? If you want to contro...
Where to find tutorials on Visual Studio? I want to know How to learn Visual Studio. Here is a large...
How To Get the Minimum or Maximum Value of an Array in PHP? If you want to get the minimum or maximu...
Where to find tutorials on RSS specifications? I want to learn it to describe my API services. Here ...