Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | Prochaine révisionLes deux révisions suivantes |
matrix [2019/06/05 10:36] – [Quaternion] simon | matrix [2019/06/05 10:36] – [Webhook et Matrix] simon |
---|
| |
{{ :capture_du_2019-06-05_12-26-31-webhook-matrix.png?400 |}} | {{ :capture_du_2019-06-05_12-26-31-webhook-matrix.png?400 |}} |
| |
| <code bash> |
| $ curl -d '{"text": "Webhook in Matrix from Terminal", "format": "plain", "displayName": "Bot", "avatarUrl": "http://i.imgur.com/IDOBtEJ.png"}' -H "Content-Type: application/json" -X POST https://webhooks.t2bot.io/api/v1/matrix/hook/hjyErSrz7NxvRM71U5PGfojarGNLZcNQmO5Tj2NM9yszoRd9trk7TQObfhUgMARD |
| {"success":true,"queued":true} |
| </code> |
| |
{{ :capture_du_2019-06-05_12-29-27-webhook-matrix.png?400 |}} | {{ :capture_du_2019-06-05_12-29-27-webhook-matrix.png?400 |}} |