Register webhook URLs and trigger them to receive notifications.
# Register a webhook
curl -X POST http://localhost/api/webhooks \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/hook", "name": "Test"}'
# Trigger all webhooks
curl -X POST http://localhost/api/trigger \
-H "Content-Type: application/json" \
-d '{"data": "hello"}'
# View logs
curl http://localhost/api/webhook-logs