HTTP request

The HTTP handler will perform an HTTP GET request, with the specified parameter, and check a variety of elements from the response, namely, the status code, the string content and a digest of the response.

Attributes

AttributeTypeExampleDescription
kindstring"http"-
urlstring"https://example.com"Full URL to request
headersmap<string, string>{ "authorization": "me" }List of headers to add to the request
timeoutint2Abort the request after this number of seconds
codeint201Status code of the response
contentstring"ACME"Substring to find in the response body
digeststring"..."Hex-encoded SHA-512 sum of the response body
json_querystring".status == \"ok\""JQ-compatible JSON query returning a boolean