๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Web Development Intermediate

What is Webhook?

A mechanism where a server sends real-time HTTP POST notifications to a specified URL when specific events occur.

Webhooks are "reverse APIs" โ€” instead of polling for updates, the service pushes data to your endpoint when events happen. For example, Stripe sends a webhook when a payment succeeds, and GitHub sends webhooks on code pushes.

Implementing webhook receivers involves validating signatures (to prevent spoofing), responding quickly (200 status), processing asynchronously, and handling retries for failed deliveries. Webhooks are essential for event-driven integrations.

Related Terms

API (Application Programming Interface)
A set of rules and protocols that allows different software applications to communicate and exchange data.
Canonical URL
An HTML element that tells search engines which URL is the preferred version of a page when duplicate or similar content exists at multiple URLs.
REST (Representational State Transfer)
An architectural style for designing networked applications using standard HTTP methods and stateless communication.
Cookie
A small piece of data stored in the browser by a website to remember user preferences, login state, or tracking information.
HATEOAS
Hypermedia As The Engine Of Application State โ€” a REST constraint where API responses include links to related actions and resources.
CSS Flexbox
A CSS layout model that provides efficient arrangement of items within a container, handling alignment, distribution, and spacing.
View All Web Development Terms โ†’