summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-06-08 00:03:06 +0200
committerWim <wim@42.be>2017-06-08 00:03:06 +0200
commit46b798ac1b9bea4080cae80af2461785dc16430b (patch)
tree69f1c21b85eb70b9a151072b9b9c8a38c18a538d /matterbridge.toml.sample
parent359d0f2910d52e0eaba6ee62dd9179bcc0097a9d (diff)
downloadmatterbridge-msglm-46b798ac1b9bea4080cae80af2461785dc16430b.tar.gz
matterbridge-msglm-46b798ac1b9bea4080cae80af2461785dc16430b.tar.bz2
matterbridge-msglm-46b798ac1b9bea4080cae80af2461785dc16430b.zip
Update documentation (api)
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r--matterbridge.toml.sample4
1 files changed, 3 insertions, 1 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample
index f53863a9..b52c0242 100644
--- a/matterbridge.toml.sample
+++ b/matterbridge.toml.sample
@@ -718,7 +718,9 @@ enable=true
#account="api.local"
#channel="api"
#To send data to the api:
- #curl -XPOST -H 'Content-Type: application/json' -d '{"text":"test","username":"randomuser"}' http://localhost:4242/api/message
+ #curl -XPOST -H 'Content-Type: application/json' -d '{"text":"test","username":"randomuser","gateway":"gateway1"}' http://localhost:4242/api/message
+ #To read from the api:
+ #curl http://localhost:4242/api/messages
#If you want to do a 1:1 mapping between protocols where the channelnames are the same
#e.g. slack and mattermost you can use the samechannelgateway configuration