mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-19 07:16:29 +00:00
Fix supervisor ping URL (#990)
* Fix supervisor ping URL In the current version I had to ping `http://<host>/supervisor/ping`, instead of `http://<host>/ping` as implied by the docs. ``` $ curl -sSL -H 'Authorization: Bearer <TOKEN>' 'http://homeassistant.local/ping' 404: Not Found $ curl -sSL -H 'Authorization: Bearer <TOKEN>' 'http://homeassistant.local/supervisor/ping' {"result": "ok", "data": {}} ``` * Use 'supervisor' as host name Co-authored-by: Franck Nijhof <frenck@frenck.nl> Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
8b219a852c
commit
c70f7ec86b
@ -34,7 +34,7 @@ curl -sSL -H "Authorization: Bearer $SUPERVISOR_TOKEN" http://supervisor/network
|
||||
## Ping the supervisor
|
||||
|
||||
```bash
|
||||
curl -sSL http://supervisor/ping
|
||||
curl -sSL http://supervisor/supervisor/ping
|
||||
```
|
||||
|
||||
**response:**
|
||||
|
Loading…
x
Reference in New Issue
Block a user