Update README.md (#51)

This commit is contained in:
Ivan FB 2024-02-16 14:05:57 +01:00 committed by GitHub
parent 720457f955
commit 90979f2e8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.