Corrected example request.

This commit is contained in:
Pēteris Caune 2016-02-18 00:09:56 +02:00
parent f78fb95d5e
commit 0fd843d430

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>