This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
сервис_adnanh_webhook [2026/10/09 16:53] val |
сервис_adnanh_webhook [2026/10/09 17:02] (current) val |
||
|---|---|---|---|
| Line 28: | Line 28: | ||
| root@server:~# ###webhook -hooks /etc/webhook.conf -verbose -port 9000 | root@server:~# ###webhook -hooks /etc/webhook.conf -verbose -port 9000 | ||
| + | $ curl -X POST -H "Content-Type: application/json" \ | ||
| + | -d '{"alerts": "тестовое сообщение"}' \ | ||
| + | http://localhost:9000/hooks/my-alert-script | ||
| </code> | </code> | ||