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, ∼8335🔥, 0💬
Popular Posts:
What is test testing area for? The testing area is provided to allow visitors to post testing commen...
How To Convert a Character to an ASCII Value? If you want to convert characters to ASCII values, you...
How to use "link" command tool to link objet files? If you have object files previously compiled by ...
How to troubleshoot the Orderer peer? The Docker container terminated by itself. You can follow this...
How to use the "forward-request" Policy Statement to call the backend service for an Azure API servi...