课程: Supabase Essential Training
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Webhooks
- [Instructor] Webhooks are a powerful feature in Supabase, but they are a little confusing at first. When I originally started learning about Supabase webhooks, I already had an idea of what a webhook was, but Supabase's definitions seem to be a little different. Let's clear things up. But first, let's start with the why behind webhooks. With a typical API, you are calling endpoints in a service and getting back a response as soon as possible. To support good scaling practices, many services have goals such as returning those responses in 100 milliseconds or less, but sometimes an API has to start a longer running process. For example, a bank might need to authorize a payment, and we won't get a confirmation right away. A common way APIs handle this scenario is to record your request, return a success message, and then continue processing asynchronously. But then how will you know it's done? You could go back and check the API every once in a while to see what the status of your…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。