diff --git a/source/developers/server_sent_events.markdown b/source/developers/server_sent_events.markdown index 52dd28a42b2..86dc50952aa 100644 --- a/source/developers/server_sent_events.markdown +++ b/source/developers/server_sent_events.markdown @@ -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.