The Default Policy

Q

What is the default policy for an Azure API operation?

✍: FYIcenter.com

A

The default policy for an Azure API operation is the following:

<!-- Default-Policy.xml
     Copyright (c) FYIcenter.com
-->
<policies>
  <inbound>
  </inbound>
  <backend>
    <forward-request />
  </backend>
  <outbound>
  </outbound>
  <on-error>
  </on-error>
</policies>

If you specify this policy to your API operation, the client request will be forwarded as is to the backend service.

The only thing changed by the Azure is that the public base URL is replaced by the backend base URL.

 

Policy to Echo the Request Body Only

Azure API Policy Examples

Azure API Policy Examples

⇑⇑ Microsoft Azure API Management Tutorials

2023-03-27, 1552🔥, 1💬