mirror of
https://github.com/waku-org/nwaku-compose.git
synced 2025-02-10 22:36:24 +00:00
chore(readme): show a way to simply post any payload
This commit is contained in:
parent
899a0c0323
commit
12d278c281
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user