forked from GithubBackups/healthchecks
Replace localhost with SITE_ROOT variable in API example
This commit is contained in:
parent
e55650c781
commit
5f4cf6780a
@ -1,4 +1,4 @@
|
||||
<div class="highlight"><pre><span></span>curl http://localhost:8000/api/v1/checks/ <span class="se">\</span>
|
||||
<div class="highlight"><pre><span></span>curl {{ SITE_ROOT }}/api/v1/checks/ <span class="se">\</span>
|
||||
-X POST <span class="se">\</span>
|
||||
-d <span class="s1">'{"api_key": "your-api-key", "name": "Backups", "tags": "prod www", "timeout": 3600, "grace": 60}'</span>
|
||||
</pre></div>
|
||||
|
@ -1,3 +1,3 @@
|
||||
curl http://localhost:8000/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}'
|
Loading…
x
Reference in New Issue
Block a user