Corrected example request again.

This commit is contained in:
Pēteris Caune 2016-02-18 10:17:54 +02:00
parent 0fd843d430
commit c4b5a8bb5b

View File

@ -67,7 +67,7 @@ The response may contain a JSON document with additional data.
<th>tags</th> <th>tags</th>
<td> <td>
<p>string, optional, default value: ""</p> <p>string, optional, default value: ""</p>
<p>A comma-delimited list of tags for the new check.</p> <p>A space-delimited list of tags for the new check.</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -100,9 +100,9 @@ The response may contain a JSON document with additional data.
<h3 class="api-section">Example Request</h3> <h3 class="api-section">Example Request</h3>
<pre> <pre>
curl {{ SITE_ROOT }}/v1/checks/ \ curl {{ SITE_ROOT }}api/v1/checks/ \
-X POST \ -X POST \
-d '{"api_key": "your-api-key", "name": "Backups", "tags": "prod,www", "timeout": 3600, "grace": 60}' -d '{"api_key": "your-api-key", "name": "Backups", "tags": "prod www", "timeout": 3600, "grace": 60}'
</pre> </pre>
<h3 class="api-section">Example Response</h3> <h3 class="api-section">Example Response</h3>