{% include "head.html" %} {% include "navbar.html" %}

Service: {{ service.service }}

Timeout: {{ service.timeout }}d
Secret Token: {{ service.token }}
{% if status_list | length > 0 %}

{{ status_list[0].status }} submitted on {{ status_list[0].timestamp }} {% else %}

No status for this service submitted {% endif %}

Curl
curl -X POST \
-H "application/json" \
-d '{ "service_name" : "{{ service.service }}", "token" : "{{ service.token }}", \
"status" : "OK", "info" : "Free Text Information here" }' \
{{ flask.request.url_root }}
Python
import requests requests.post("{{ flask.request.url_root }}",
json= { "service_name" : "{{ service.service }}",
"token" : "{{ service.token }}",
"status" : "OK",
"info" : "additional information" })
{% for status in status_list %} {% endfor %}
Date Status Info
status.human_date() status.status status.info