'set-method' Policy Statement
How to use the "set-method" Policy Statement for an Azure API service operation?
The "set-method" Policy Statement can be used to modify the HTTP verb when Azure forwarding the client request to the backend Web service.
By default, Azure uses the save HTTP verb as client request received at the Azure portal. If you want to change the HTTP verb, you need to insert a "set-method" Policy Statement in the <inbound> block as shown below:
<inbound> <set-method>POST</set-method> </inbound>
If the above policy is used on a client request using the GET method:
GET https://fyicenter.azure-api.net/profiles HTTP/1.1
Azure will call the backend service with the POST method, assuming
POST http://dev.fyicenter.com/services/profiles HTTP/1.1
2018-01-16, 521👍, 0💬
What is Azure API Management Publisher Dashboard? Azure API Management Publisher Dashboard is an Azu...
How To Generate and Process a Form with the Same Script in PHP? In previous exercises, a Web form is...
What Is an HTML http-equiv "meta" Tag/Element? a http-equiv "meta" element is a special "meta" eleme...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...
What Is Azure API Management Service? Azure API Management as a turnkey solution for publishing APIs...