'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, 237👍, 0💬
How To Select an Exiting Database in PHP? The first thing after you have created a connection object...
Why Do You Need to Filter Out Empty Files in PHP? When you are processing uploaded files, you need t...
What Is an HTML "code" Tag/Element? An "code" element is an inline element that you can use to speci...
How To Generate and Process a Form with the Same Script in PHP? In previous exercises, a Web form is...
How To Specify Argument Default Values? in PHP? If you want to allow the caller to skip an argument ...