From 424283483a07599d206c5a78ce023149b6a9975a Mon Sep 17 00:00:00 2001 From: Ivan FB <128452529+Ivansete-status@users.noreply.github.com> Date: Fri, 2 Feb 2024 15:01:16 +0100 Subject: [PATCH] Update README.md $(date +%s%N) -> '$(date +%s%N)' (#44) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f8ae01..fb53f9a 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,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","timestamp":$(date +%s%N)}' + -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.