HttpPutRequestValve

Valve to send HTTP PUT messages .

Note: This valve is commonly used when sending notifications to users and administrators. NOT for sending one-time passwords.

Properties

Name Description Default value Mandatory Supports property expansion
url URL to send to. Yes Yes
body URL parameters. No Yes
http_crypto_protocol Encryption protocol. TLS Yes No
headers HTTP headers. No No
success_string If a apecific value must be returned in the response from the HTTP server. No No
content_type Content type of the POST. application/json No No
keystore Keystore to use for the SSL context. No No
trust_all_certs Always trust. false No No

Example Configuration

{
    "id" : "3671fa20-5706-4fd3-b811-06b9d47eaf04",
    "name" : "HttpPutRequestValve",
    "enabled" : "true",
    "config" : {
      "proceed_on_error" : "false",
      "url" : "https://www.mycompany.com/Handler/PhenixID",
      "body" : "{{item.http_body}}",
      "http_crypto_protocol" : "TLSv1.2",
      "trust_all_certs" : "false",
      "keystore" : "40f460b1-5b14-464a-b704-05d7b2998a79",
      "content_type" : "application/json"
    }
  }

In the example above, the value http_body has been picked up or created earlier in the flow.


Requirements