Last updated 3 days ago
Valve for performing HTTP PUT requests.
Valve name: HttpPut
HttpPut
Common HTTP valve configuration can be found .
content
Content to PUT.
N/A
content_type
Media type of content.
{ "name" : "HttpPut", "config" : { "url" : "http://127.0.0.1:8080/echo", "destination" : "default", "content": "${request.content}", "content_type": "application/json" } }
Since content in this example expands to json, html escaping must be turned off ("${...}")
"${...}"