🎁 New User? Get 20% off your first purchase with code NEWUSER20 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

Caching
Storing copies of frequently accessed data in faster storage to reduce load times and server processing.
Cookie
A small piece of data stored in the browser by a website to remember user preferences, login state, or tracking information.
Lazy Loading
A technique that delays loading non-critical resources until they are needed, improving initial page load performance.
MVC (Model-View-Controller)
An architectural pattern that separates an application into three components: data (Model), interface (View), and logic (Controller).
GraphQL
A query language for APIs that lets clients request exactly the data they need, reducing over-fetching and under-fetching.
CORS Headers
HTTP headers that control cross-origin resource sharing between different domains, specifying allowed origins, methods, and headers.
View All Web Development Terms →