From 12d278c281d433c71b5af56e07d6ac322683f126 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= Date: Thu, 9 Nov 2023 14:09:47 +0100 Subject: [PATCH] chore(readme): show a way to simply post any payload --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7642e11..6eced50 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ curl http://127.0.0.1:8645/debug/v1/info ``` curl -X POST "http://127.0.0.1:8645/relay/v1/auto/messages" \ -H "content-type: application/json" \ - -d '{"payload":"XaaabsQ==","contentTopic":"/my-app/2/chatroom-1/proto"}' + -d '{"payload":"'$(echo -n "Hello Waku Network - from Anonymous User!" | base64)'","contentTopic":"/my-app/2/chatroom-1/proto"}' ``` **Get messages sent to a `contentTopic`**. Note that any store node in the network is used to reply.