Skip to content

Files

Latest commit

3103811 · Feb 5, 2023

History

History
23 lines (18 loc) · 678 Bytes

webhook.md

File metadata and controls

23 lines (18 loc) · 678 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"}
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.