Alertra Script Language 1.9

header

Appends a header to the list of headers that will be sent with the next HTTP/S request. The text is sent as-is by this commnand, so the format must be appropriate and acceptable to the target web server.

usage: header [text]

parameters:

req name type description
Y text expression The string to be sent with the next HTTP/S request.

examples

header "x-script:alertra web site monitor"

Adds the header "x-script:alertra web site monitor" to the list of headers to be sent with the next HTTP/S request.


Alertra Script Language: Language Reference