How to Integrate Your App With Webhooks Using Amazon SNS

How to Integrate Your App With Webhooks Using Amazon SNS

A webhook is an API intended to receive a message whenever an event happens in a system. Typically, an event-driven application will POST a predefined message to all listening, or subscribing, webhooks when a specific event occurs.

Have you ever been in a meeting talking about a new product build, and you get to the integration requirements of products x, y, _and z_?

You don’t really want to build direct integrations with these systems — you’d prefer to build an integration that’s more generic and could be used by anybody. Why build something custom when you could build for everyone?

In event-driven architectures, like a serverless application, you’ll have integration points at many different places in your application. These integration points are known as events and represent exactly what you’d think —that something happened.

You know how you get a notification on your phone whenever your security camera detects motion? That’s an event. The detect-motion event from your smart camera was published as soon as it saw that cat run across your driveway.

But what do you do with events? You listen to them with a webhook.

What’s a Webhook?

A webhook is an API intended to receive a message whenever an event happens in a system. Typically, an event-driven application will POST a predefined message to all listening, or subscribing, webhooks when a specific event occurs.

The system that publishes the event is then done with all responsibilities in this exchange. It lets other systems know that something happened — now it can continue on its merry way.

api programming aws javascript technology

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Top 10 API Security Threats Every API Team Should Know

Learn what are the most important API security threats engineering leaders should be aware of and steps you can take to prevent them

Serverless Express – Easy APIs On AWS Lambda & AWS HTTP API

Serverless Express enables you to easily host Express.js APIs on AWS Lambda and AWS HTTP API. Here is how to get started and deliver a Serverless Express.js based API with a custom domain, free SSL certificate and much more!

How to Build an API in AWS - Using AWS Lambda and API Gateway

APIs, short for Application Programming Interfaces, are connection points that allow different (parts of) computer programs to exchange data. Using APIs for the delivery of a software service makes your code better organized and easily reusable. In this article, I am going through the basic steps of creating an API using AWS Lambda and API Gateway.

An API-First Approach For Designing Restful APIs | Hacker Noon

I’ve been working with Restful APIs for some time now and one thing that I love to do is to talk about APIs.

Public ASX100 APIs: The Essential List

The method used for this initial research was to obtain a list of the ASX100 (as of 18 September 2020). Then work through each company looking at the following