From 06ec8b29e33a6c678898424b83192de16cd97131 Mon Sep 17 00:00:00 2001 From: Pedro Correa Date: Fri, 16 May 2025 16:24:52 -0300 Subject: [PATCH] :memo: updated README --- README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 6aba0be..f58178b 100644 --- a/README.org +++ b/README.org @@ -16,11 +16,11 @@ just run After running the server, you can subscribe using =curl= with the following command #+begin_src shell -curl localhost:8000/subscribe +curl "localhost:8000/subscribe?topic=notification" #+end_src Later, you can simply publish a message in the =/publish= endpoint with the following command #+begin_src shell -curl localhsot:8000/publish -d '{"name": "Tulkdan", "value": 2000 }' +curl "localhsot:8000/publish?topic=notification" -d '{"name": "Tulkdan", "value": 2000 }' #+end_src -- 2.51.2