'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, 250👍, 0💬
dev.FYIcenter.com is a Website for software developer looking for software development technologies,...
What Is HTML? HTML (HyperText Markup Language) is the standard markup language for creating Web page...
Where to find tutorials on how to work with MySQL Database in PHP? A collection of tutorials to answ...
How To Specify Argument Default Values? in PHP? If you want to allow the caller to skip an argument ...
How To Get All the Values Out of an Array in PHP? Function array_values() returns a new array that c...