'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
2017-09-23, 121👍, 0💬
Where to find tutorials on how to create Your Own Functions in PHP? A collection of tutorials to ans...
Where to find tutorials on how to Read and Write Files in PHP? A collection of tutorials to answer m...
Where to find tutorials on PHP language? I want to know how to learn PHP. Here is a large collection...
Why Do You Need to Filter Out Empty Files in PHP? When you are processing uploaded files, you need t...
What Is session_register() in PHP? session_register() is old function that registers global variable...