Replies: 1 comment
|
It depends on where your endpoint runs and which Appwrite you're on. Appwrite Cloud → your machine: Cloud can't reach localhost. Expose your server with a tunnel and use that public HTTPS URL as the webhook endpoint: cloudflared tunnel --url http://localhost:3000 or: ngrok http 3000Self-hosted Appwrite in Docker, endpoint on the same machine: localhost inside the webhooks worker is the container itself, so use host.docker.internal. On Linux, add it to the appwrite-worker-webhooks service: extra_hosts:
_APP_ALLOWED_INTERNAL_ADDRESSES=172.17.0.1 If your local endpoint uses a self-signed certificate, turn off certificate verification on the webhook (security in the API). To see the payloads before you write any handler, point the webhook at a request bin such as webhook.site |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
What is the best way to test the webhooks during local development? Is this currently supported?
All reactions