{% extends "base.html" %} {% load compress humanize static hc_extras %} {% block title %}Add Webhook - {% site_name %}{% endblock %} {% block content %}

Webhook

Executes an HTTP request to your specified URL when a check goes up or down.

You can use placeholders $NAME, $STATUS and others in webhook URLs, request body and header values (quick reference).

{% csrf_token %}

Execute when a check goes down


{% if form.url_down.errors %}
{{ form.url_down.errors|join:"" }}
{% endif %}
{% if form.headers_down.errors %} {{ form.headers_down.errors|join:"" }} {% else %} Optional "Header-Name: value" pairs, one pair per line. {% endif %}

Execute when a check goes up


{% if form.url_up.errors %}
{{ form.url_up.errors|join:"" }}
{% endif %}
{% if form.headers_up.errors %} {{ form.headers_up.errors|join:"" }} {% else %} Optional "Header-Name: value" pairs, one pair per line. {% endif %}


{% endblock %} {% block scripts %} {% compress js %} {% endcompress %} {% endblock %}