Files
m3o-go/curl/stream/publish/publishAMessage.sh
2021-10-29 10:40:25 +00:00

11 lines
233 B
Bash
Executable File

curl "https://api.m3o.com/v1/stream/Publish" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $M3O_API_TOKEN" \
-d '{
"message": {
"id": "1",
"type": "signup",
"user": "john"
},
"topic": "events"
}'