This commit is contained in:
Fabian Affolter 2016-07-18 16:48:12 +02:00
parent b5bc811d8e
commit 7e6af834de
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -44,6 +44,12 @@ Visit [http://localhost:8123/local/sse.html](http://localhost:8123/local/sse.htm
## {% linkable_title Examples %}
The simplest way to consume server-sent events is `curl`.
```bash
$ curl http://localhost:8123/api/stream?api_password=MYPASS
```
### {% linkable_title Website %}
The [home-assistant-sse](https://github.com/fabaff/home-assistant-sse) repository contains an more advanced example.