4 ms·
Yup, that's one way of doing it (which we support at Svix). Though another great way is "thin webhooks", where you just use the webhook to notify your customers
by tasn 4y ago
Yup, that's one way of doing it (which we support at Svix). Though another great way is "thin webhooks", where you just use the webhook to notify your customers something happened, and then they can use your API to get the exact data that changed.
- deleted 4y ago[deleted]
- Canada 4y agoI'm annoyed by these. Just give me the payload, authenticated of course. I can always just ignore your payload/signature and treat it as a notification to poll you anyway.
- tasn 4y agoYeah, but you need to know what changed, so you need the relevant IDs.
- Canada 4y agoYeah, so give em to me in the event endpoint cause for sure you have them. I will iterate it and do what I need to do. The key is these things need to have IDs and be idempotent always. Do that, and getting out of a lot of big screw ups needs no further effort/thinking after a reboot or rollback.