Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 692 Bytes

webhook.md

File metadata and controls

23 lines (18 loc) · 692 Bytes

Webhook

Trigger a Webhook.
This action is only available if MinMon is built with the http feature.

Options

name example optional default placeholders
url "http://example.com/webhook?alarm={{alarm_name}}"
method "GET", "POST", "PUT", "DELETE", "PATCH" "POST"
headers {"Content-Type" = "application/json"} ✔ (values only)
body {"text": "Triggered from check '{{check_name}}'."}

url

URL the HTTP request will be sent to.

method

HTTP method used for the request.

headers

HTTP headers used for the request

body

HTTP request body.