What Is Azure API Policy
What Is Azure API Policy?
Azure API Policy is a set of plugin rules to be executed between Azure API and the backend service. Those plugin rules are written in Azure API policy statements in XML format.
An Azure API policy contains two major blocks:
1. Inbound Policy - Policy statements to be executed after Azure receiving the client request (the HTTP request generated from the client system) and before generating the Azure request (the HTTP request to be delivered to the backend service).
The purpose of the Inbound Policy is to build the Azure request based on the client request. Without the Inbound Policy, Azure will just clone the client request and use it as the Azure request.
2. Outbound Policy - Policy statements to be executed after Azure receiving the backend response (the HTTP response received from the backend service) and before generating the Azure response (the HTTP response to be delivered to the client system).
The purpose of the Outbound Policy is to build the Azure response based on the backend response. Without the Outbound Policy, Azure will just clone the backend response and use it as the Azure response.
The picture below shows you where Azure API inbound policy and outbound policy are used:
For more information on Azure API Policy, see API Management policies Website.
2017-09-23, 147👍, 0💬
What Is an HTML http-equiv "meta" Tag/Element? a http-equiv "meta" element is a special "meta" eleme...
Can You Copy an Array in PHP? You can create a new array by copying an existing array using the assi...
How To Copy Array Values to a List of Variables in PHP? If you want copy all values of an array to a...
Where to find tutorials on how to use PHP built-in functions to manage arrays? A collection of tutor...
How To Find a Specific Value in an Array in PHP? There are two functions can be used to test if a va...