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, 6790🔥, 0💬
Popular Posts:
How to Build my "sleep" Docker image from the Alpine image? I want the container to sleep for 10 hou...
How to add an API to an API product for internal testing on the Publisher Portal of an Azure API Man...
Where to find tutorials on Visual Studio? I want to know How to learn Visual Studio. Here is a large...
Where to get the detailed description of the json_encode() Function in PHP? Here is the detailed des...
How to use the "find-and-replace" Policy Statement for an Azure API service operation? The "find-and...