mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-19 14:05:23 +00:00
Commit from GitHub Actions (Generate Clients & Examples)
This commit is contained in:
11
examples/event/publish/curl/publishAMessage.sh
Executable file
11
examples/event/publish/curl/publishAMessage.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
curl "https://api.m3o.com/v1/event/Publish" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
"message": {
|
||||
"id": "1",
|
||||
"type": "signup",
|
||||
"user": "john"
|
||||
},
|
||||
"topic": "user"
|
||||
}'
|
||||
Reference in New Issue
Block a user