From 9a0f0cbfba4c86796a9b3305d0d8e5c259beaeb9 Mon Sep 17 00:00:00 2001 From: Christian Steinhaus Date: Fri, 9 Aug 2019 13:29:42 +0200 Subject: [PATCH] Updated README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 41bc161..7db8943 100644 --- a/README.md +++ b/README.md @@ -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`