4 ms·
Whats the best/recommended way to test webhooks with a server running locally? Do you require webhook urls to be SSLd? P.S. Also eagerly waiting for your Shar
by vladgur 12y ago
Whats the best/recommended way to test webhooks with a server running locally?
Do you require webhook urls to be SSLd?
P.S. Also eagerly waiting for your Shared Folder API [1] :)
https://news.ycombinator.com/item?id=7484409 https://news.ycombinator.com/item?id=7484409
- smarx 12y agoWebhooks don't require SSL. We're going to publish a little Python script soon that can generate fake webhook notifications for local testing, but in the meantime, I'd suggest just using curl. Something like this: curl http://127.0.0.1/whatever http://127.0.0.1/whatever -d '{"deltas": {"users:" [12345]}}' Another possibility is to use a tool like ngrok or localtunnel, which is what some of our beta testers did.
- smarx 12y agoI went ahead and published Python code to generate fake webhook requests. See https://github.com/dropbox/dropbox_hook https://github.com/dropbox/dropbox_hook.
- johns 12y agohttp://john-sheehan.com/blog/a-survey-of-the-localhost-proxying-landscape http://john-sheehan.com/blog/a-survey-of-the-localhost-proxy...