forked from GithubBackups/healthchecks
Corrected example request again.
This commit is contained in:
parent
c4b5a8bb5b
commit
24e370cb72
@ -100,7 +100,7 @@ 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 }}api/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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user