Run the local webhook server
Handler ships with a local webhook receiver for task push notifications, which is useful for development work and integration testing.Run the push notification receiver
Start the local webhook receiver on the default port:127.0.0.1:9000 and exposes these endpoints:
POST /webhookreceives task notificationsGET /webhookreturns a simple validation responseGET /notificationslists received notificationsPOST /notifications/clearclears stored notifications
End-to-end push notification test
- Start the webhook receiver with
handler server run push. - Start or connect to an agent.
- Send a message that creates a long-running task.
- Point that task at
http://127.0.0.1:9000/webhookwithhandler task notification set. - Inspect received events at
http://127.0.0.1:9000/notifications.