This commit is contained in:
JMARyA 2023-12-04 11:02:23 +01:00
commit c5cd492449
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
475 changed files with 27928 additions and 0 deletions

View file

@ -0,0 +1,12 @@
---
obj: concept
wiki: https://en.wikipedia.org/wiki/Webhook
---
# Webhook
A webhook in web development is a method of augmenting or altering the behavior of a web page or web application with custom callbacks. These callbacks may be maintained, modified, and managed by third-party users and developers who may not necessarily be affiliated with the originating website or application.
The format is usually [JSON](../files/JSON.md). The request is done as a [HTTP](HTTP.md) POST request.
## Function
Webhooks are "user-defined [HTTP](HTTP.md) callbacks". They are usually triggered by some event, such as pushing code to a repository, a comment being posted to a blog and many more use cases. When that event occurs, the source site makes an [HTTP](HTTP.md) request to the [URL](URL.md) configured for the webhook. Users can configure them to cause events on one site to invoke behavior on another. One example would be sending [Discord](../applications/communication/Discord.md) messages on specific events.