update "text" key to "body"

This commit is contained in:
Guilhem Saurel 2021-07-31 11:21:29 +02:00
parent 8b32c972b8
commit 292d77274d
5 changed files with 39 additions and 11 deletions

View file

@ -74,7 +74,7 @@ docker-compose up -d
## Test / Usage
```
curl -d '{"text":"new contrib from toto: [44](http://radio.localhost/map/#44)", "key": "secret"}' \
curl -d '{"body":"new contrib from toto: [44](http://radio.localhost/map/#44)", "key": "secret"}' \
'http://matrixwebhook.localhost/!DPrUlnwOhBEfYwsDLh:matrix.org'
```
(or localhost:4785 without docker)