Tools, FAQ, Tutorials:
'set-method' Policy Statement
How to use the "set-method" Policy Statement for an Azure API service operation?
✍: FYIcenter.com
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
⇒ 'forward-request' Policy Statement
⇐ 'rewrite-uri' Policy Statement
2018-01-16, ∼3088🔥, 0💬
Popular Posts:
How to enter &amp; entity in '@(...)' expressions? If you want to enter the &amp; se...
Where to get the detailed description of the JSON.stringify() Function in JavaScript? Here is the de...
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3...
How to use urllib.parse.urlencode() function to encode HTTP POST data? My form data has special char...