init
This commit is contained in:
commit
c5cd492449
475 changed files with 27928 additions and 0 deletions
12
technology/internet/Webhook.md
Normal file
12
technology/internet/Webhook.md
Normal 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.
|
Loading…
Add table
Add a link
Reference in a new issue