Browse Source

Corrected example request again.

pull/46/head
Pēteris Caune 9 years ago
parent
commit
24e370cb72
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

@ -100,7 +100,7 @@ The response may contain a JSON document with additional data.
<h3 class="api-section">Example Request</h3>
<pre>
curl {{ SITE_ROOT }}api/v1/checks/ \
curl {{ SITE_ROOT }}/api/v1/checks/ \
-X POST \
-d '{"api_key": "your-api-key", "name": "Backups", "tags": "prod www", "timeout": 3600, "grace": 60}'
</pre>


Loading…
Cancel
Save