Updated README

This commit is contained in:
Christian Steinhaus 2019-08-09 13:29:42 +02:00
parent fb560a5bea
commit 9a0f0cbfba
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ behind a reverse-proxy with HTTPS.
- Or have your IDE do it for you
- Send a POST request using curl `curl -i -X POST "localhost:5000/matrix?channel=%21yhEUnvhAZZFKRStdXb%3Amatrix.org" -H "X-Gitlab-Event: Push Hook" -H "X-Gitlab-Token: ..." -H "Content-Type: application/json" --data-binary @./testrequest.json`
- The part after `channel=` is the room ID which can retrieved from Matrix channels you are part of
- `%21` escapes ! in HTML
- `%3A` escapes : in HTML
- `%21` escapes ! in URI
- `%3A` escapes : in URI
- The `X-Gitlab-Token` must correspond to the one provided in `config.yaml`