HttpGetRequestValve

Valve to send HTTP GET 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
url_params 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
keystore Keystore to use for the SSL context. No No
trust_all_certs Always trust. false No No

Example Configuration

{
    "id" : "5671fa20-5706-4fd3-b811-06b9d47eaf04",
    "name" : "HttpGetRequestValve",
    "enabled" : "true",
    "config" : {
      "proceed_on_error" : "false",
      "url" : "https://www.mycompany.com/Handler/PhenixID",
      "url_params" : "{{item.url_params}}",
      "http_crypto_protocol" : "TLS",
      "trust_all_certs" : "true",
      "success_string" : "OK"
    }
  }

In the example above, the value url_params has been picked up earlier in the flow.


Requirements