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:
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The a...
How To Truncate an Array in PHP? If you want to remove a chunk of values from an array, you can use ...
Where to find tutorials on JSON (JavaScript Object Notation) text string format? I want to know how ...
How to start Docker Daemon, "dockerd", on CentOS systems? If you have installed Docker on your CentO...
How to convert a JSON text string to an XML document with PHP language? Currently, there is no built...