Tools, FAQ, Tutorials:
'forward-request' Policy Statement
How to use the "forward-request" Policy Statement to call the backend service for an Azure API service operation?
✍: FYIcenter.com
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:
⇐ 'set-method' Policy Statement
2018-01-16, 7178🔥, 0💬
Popular Posts:
What is EPUB 2.0 Metadata "dc:creator" and "dc:contributor" elements? EPUB 2.0 Metadata "dc:creator"...
What is Azure API Management Developer Portal Admin? The Developer Portal Admin is an Azure Web port...
How to use the "return-response" Policy statement to build the response from scratch for an Azure AP...
How to include additional claims in Azure AD v2.0 id_tokens? If you want to include additional claim...
How To Pass Arrays By References? in PHP? Like normal variables, you can pass an array by reference ...