Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit d5deac877cc5d95c999e02479a1640b91d83e647 Author: Wim <wim@42.be> Date: Thu Jun 08 00:03:06 2017 +0000 Update documentation (api) diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample index f53863a..b52c024 100644 --- a/matterbridge.toml.sample +++ b/matterbridge.toml.sample @@ -7187 +7189 @@ 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