From 2df944c5e55951021e6c1da0feffef8c24c19506 Mon Sep 17 00:00:00 2001 From: playdohface <110300169+playdohface@users.noreply.github.com> Date: Wed, 8 Feb 2023 12:54:57 +0100 Subject: [PATCH] fix SSE instructions (#602) --- server-sent-events/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-sent-events/README.md b/server-sent-events/README.md index 1b4b36b5..3cca1124 100644 --- a/server-sent-events/README.md +++ b/server-sent-events/README.md @@ -10,7 +10,7 @@ cargo run Open http://127.0.0.1:8080/ with a browser, then send events with another HTTP client: ```sh -curl 127.0.0.1:8080/broadcast/my_message +curl -X post 127.0.0.1:8080/broadcast/my_message ``` _my_message_ should appear in the browser with a timestamp.