'forward-request' Policy Statement
How to use the "forward-request" Policy Statement to call the backend service for an Azure API service operation?
The "forward-request" Policy Statement allows you to call the backend service, using information provided in the "context.Request" object.
The "forward-request" Statement has the following syntax:
<forward-request timeout="time_in_seconds" follow-redirects="true | false (default)"/>
Obviously, the "forward-request" statement should only be called in the "backend" policy block.
By default, Azure API management automatically added the "forward-request" into the "backend" policy block at the product level to call the backend service.
But you can override it at the API level or the operation level as shown below:
<backend> <forward-request timeout="60"/> </backend>
Note that when "forward-request" statement is executed, Azure will:
2018-01-16, 339👍, 0💬
How To Loop through an Array without Using "foreach" in PHP? PHP offers the following functions to a...
Where to find tutorials on PHP language? I want to know how to learn PHP. Here is a large collection...
How To Get All the Values Out of an Array in PHP? Function array_values() returns a new array that c...
How to create a new API on the Publisher Dashboard of an Azure API Management Service? If you are ne...
How to see more EPUB 2.0 metadata list with Calibre? You can follow this tutorial to view EPUB 2.0 m...