From 0fd843d430bd85233926b2c00e4471e3ff0785a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Thu, 18 Feb 2016 00:09:56 +0200 Subject: [PATCH] Corrected example request. --- templates/front/docs_api.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/front/docs_api.html b/templates/front/docs_api.html index bf7283cf..69990ea8 100644 --- a/templates/front/docs_api.html +++ b/templates/front/docs_api.html @@ -102,7 +102,7 @@ The response may contain a JSON document with additional data.
 curl {{ SITE_ROOT }}/v1/checks/ \
     -X POST \
-    -d '{"name": "Nightly Backups", "tags": "production,www", "timeout": 3600, "grace": 60}'
+    -d '{"api_key": "your-api-key", "name": "Backups", "tags": "prod,www", "timeout": 3600, "grace": 60}'
 

Example Response