'set-status' Policy Statement


How to use the "set-status" Policy statement to modify the response status for an Azure API service operation?

✍: FYIcenter.com


The "set-status" Policy Statement allows you to change the status code of the response.

For example, the following outbound policy changes the status code of the response to 401:

    <set-status code="401" reason="Unauthorized" />  


Azure API Policy Examples

'wait' Policy Statement

Policy to Control Backend Service

⇑⇑ Microsoft Azure API Management Tutorials

2018-01-13, 1353🔥, 0💬