Webhooks
- 07 Jan 2022
- 1 Minute to read
- Contributors
- DarkLight
- PDF
Webhooks
- Updated on 07 Jan 2022
- 1 Minute to read
- Contributors
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Webhook: Overview
Use Webhooks to integrate applications with AutoRABIT, for example:
- Every time a user pushes commits in a repository, you may want to notify your CI server to start a build.
- Every time a user pushes commits or creates a pull request, you may want to display a notification in your application.
Advantages of webhooks
Without webhooks, if you want to detect when events occur in AutoRABIT, you need to poll the API. However, polling the API is inconvenient, inefficient, and error-prone. Consider how SMS messages work on mobile phones. You don't have to check your messages every 5 minutes to see if you have a text because your phone sends you a notification. In the same way, webhooks work like notifications so that the API does not have to check for the same activity every minute.