🔌Webhook
Also known as Webhooks, HTTP Callback, Reverse API
A web address for news. Another app calls it when an event takes place.
Think of it like
Think of it like a doorbell. Instead of checking the door all day, you wait for it to ring.
Example
Emma gives a payment service her webhook address. A customer pays, and seconds later her shop gets a POST that says paid.
Why it matters
Apps can act at once. They do not waste thousands of requests asking if anything is new.
Definition
Common mistake
Key takeaways
- 1They call you. When the event happens.
- 2A POST to your address. With details of the event.
- 3Check it is real. Verify the signature.