From 6d03f73246791a1d35cc1fa31ce50b894690823e Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 24 Sep 2024 17:47:10 +0800 Subject: [PATCH] update ntfy --- ntfy/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ntfy/README.md b/ntfy/README.md index 63409f5..7d0ee27 100644 --- a/ntfy/README.md +++ b/ntfy/README.md @@ -41,4 +41,9 @@ $ ntfy sub test $ ntfy pub -T fire -t WARNING test "Fire in the Hole" ``` +```bash +$ websocat --basic-auth "kev:******" ws://127.0.0.1:2586/test/ws +$ curl -u "kev:******" -H 'Tags: fire' -H 'Title: WARNING' -d 'Fire in the Hole' http://127.0.0.1:2586/test +``` + [1]: https://docs.ntfy.sh/config/