chore: not passing timestamp in post example

This commit is contained in:
Gabriel mermelstein 2024-03-04 11:38:07 -06:00
parent a4d77b02dc
commit ef3ba214af
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D

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"}'
```
**Get messages sent to a `contentTopic`**. Note that any store node in the network is used to reply.