From a8e7e4ecbcc0510c038e4efb9a619fe0c35bebc3 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Wed, 13 Dec 2023 12:00:56 +1100 Subject: [PATCH] fix: timestamp must be passed --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b0d9f8d..7bd6ce9 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,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":"'$(echo -n "Hello Waku Network - from Anonymous User" | base64)'","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","timestamp":$(date +%s%N)}' ``` **Get messages sent to a `contentTopic`**. Note that any store node in the network is used to reply.