diff --git a/readme.md b/readme.md index 4c11248..0f2e7f9 100644 --- a/readme.md +++ b/readme.md @@ -53,7 +53,7 @@ Alternatively, you can set these options using command-line flags. Run `./go-mat ```bash curl -X POST -H "Content-Type: application/json" -d '{"type": "m.login.password", "identifier": {"type": "m.id.user", "user": ""}, "password": "", "initial_device_display_name": "Webhook Client"}' "https:///_matrix/client/r0/login" ``` -Get `access_token` from curl output. Don't forget to add bot to your room! +Get the `access_token` from the curl output and pass it into this application along with other required variables. Don't forget to add the bot to your room! ### Send Messages To send a message, simply make a POST request with the following structure: