Tools, FAQ, Tutorials:
'rewrite-uri' Policy Statement
How to use the "rewrite-uri" Policy Statement for an Azure API service operation?
✍: FYIcenter.com
The "rewrite-uri" Policy Statement is actually doing the same work as the operation setting "Rewrite URL template".
For example, if you create an API operation with the following settings:
HTTP verb: POST URL template: /profiles Rewrite URL template: /users
You will see the "rewrite-uri" policy statement automatically added as shown below:
<inbound> <rewrite-uri template="/users" /> </inbound>
The "rewrite-uri" policy statement in the <inbound> block tells Azure to append the given URI template to the "Web service URL" API setting when calling the backend service.
⇒ 'set-method' Policy Statement
⇐ 'set-backend-service' Policy Statement
2018-01-16, ≈10🔥, 0💬
Popular Posts:
How to build a test service operation to dump everything from the "context.Request" object in the re...
How to pull NVIDIA CUDA Docker Image with the "docker image pull nvidia/cuda" command? If you are ru...
How to use the XML to JSON Conversion Tool at freeformatter.com? If you want to try the XML to JSON ...
How To Loop through an Array without Using "foreach" in PHP? PHP offers the following functions to a...
What Azure AD App Registration Manifest? Azure AD App Registration Manifest is JSON file that contai...