Home / Companies / StackHawk / Blog / Post Details
Content Deep Dive

Developing with Webhooks

Blog post from StackHawk

Post Details
Company
Date Published
Author
Brandon Ward
Word Count
464
Language
English
Hacker News Points
-
Summary

Webhooks, often described as "Reverse APIs," are event-driven web callbacks where the consumer is responsible for implementing the API based on an external third party's specification. They are commonly used to trigger events such as source code builds from commits, with providers like GitHub, Jenkins, and StackHawk offering webhook capabilities. For example, StackHawk provides a webhook that informs users of completed scans. To work with webhooks, tools like ngrok can make local APIs publicly accessible, and a simple node.js application can be used to log incoming requests. Setting up a webhook involves configuring details such as SSL-secured URLs, which are necessary for providers like StackHawk, and activating the webhook by performing an operation that triggers an event. This process allows for seamless integration and automation, enhancing the workflow for developers who utilize these technologies.