๐ŸŽ 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

Cross-Origin Resource Sharing (CORS)
An HTTP mechanism that allows web pages to request resources from a different domain than the one serving the page.
WebSocket
A communication protocol that enables full-duplex, real-time data exchange between a browser and server over a single connection.
SPA (Single Page Application)
A web application that loads a single HTML page and dynamically updates content without full page reloads.
DOM (Document Object Model)
A programming interface for HTML documents that represents the page structure as a tree of objects that can be manipulated with JavaScript.
Brotli Compression
A modern compression algorithm developed by Google that achieves better compression ratios than Gzip for web content delivery.
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.
View All Web Development Terms โ†’