Tools, FAQ, Tutorials:
What Is Azure API Policy
What Is Azure API Policy?
✍: FYIcenter.com
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.
2018-03-10, 1802🔥, 0💬
Popular Posts:
How to use the "forward-request" Policy Statement to call the backend service for an Azure API servi...
Where to find tutorials on PHP language? I want to know how to learn PHP. Here is a large collection...
How to add images to my EPUB books Images can be added into book content using the XHTML "img" eleme...
How to use .NET CLR Types in Azure API Policy? By default, Azure imports many basic .NET CLR (Common...
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follo...