๐ŸŽ 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 Rate Limiting
A strategy for limiting the number of API requests a client can make within a specified time window to protect server resources.
Web Performance Optimization
Techniques to make websites load faster and respond more quickly, improving user experience and search engine rankings.
Sitemap XML
An XML file that lists all important URLs on a website, helping search engines discover and crawl content efficiently.
AJAX
A technique for making asynchronous HTTP requests from a web page without reloading the entire page.
Service Worker
A JavaScript file that runs in the background, enabling offline support, push notifications, and background sync for web apps.
CORS Headers
HTTP headers that control cross-origin resource sharing between different domains, specifying allowed origins, methods, and headers.
View All Web Development Terms โ†’