'rewrite-uri' Policy Statement
How to use the "rewrite-uri" Policy Statement for an Azure API service operation?
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.
2018-01-16, 1974👍, 0💬
How to use the "set-variable" Policy Statement to create custom variables for an Azure API service o...
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follo...
How to create a new API on the Publisher Portal 2017 version of an Azure API Management Service? If ...