Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/content/docs/quickstarts/first-webhook.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Your first webhook
description: Create a webhook in Val Town
---

import Val from "@components/Val.astro";

This is a guide to creating a webhook in Val Town.

#### What is a webhook?

A webhook is a way to receive HTTP requests from other services, like GitHub, Stripe, Linear etc. For example, you can create a webhook that listens for new issues created in a GitHub repository, or a webhook that receives payment notifications from Stripe. (TODO - linkify those examples?)

#### Step 1: Sign up to Val Town

[Sign up to Val Town](https://www.val.town/auth/signup). It's free.

#### Step 2: Create an HTTP handler

Or remix?

TODO - explain the connection between HTTP handler/trigger and webhook