'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, 5906👍, 0💬
How to dump (or encode, serialize) a Python object into a JSON string using json.dumps()? The json.d...
How to use the JSON to XML Conversion Tool at freeformatter.com? If you want to try the JSON to XML ...
How To Open Standard Output as a File Handle in PHP? If you want to open the standard output as a fi...
What properties and functions are supported on requests.models.Response objects? "requests" module s...
How to use the "set-variable" Policy Statement to create custom variables for an Azure API service o...