Browse Source

Corrected example request.

pull/46/head
Pēteris Caune 9 years ago
parent
commit
0fd843d430
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/front/docs_api.html

+ 1
- 1
templates/front/docs_api.html View File

@ -102,7 +102,7 @@ The response may contain a JSON document with additional data.
<pre>
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}'
</pre>
<h3 class="api-section">Example Response</h3>


Loading…
Cancel
Save