From ae8fca90d8d6a85f43878c270c4af47bcb4caec1 Mon Sep 17 00:00:00 2001 From: Steve Krouse Date: Thu, 3 Jul 2025 09:17:06 -0400 Subject: [PATCH] First webhook --- .../docs/quickstarts/first-webhook.mdx | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/content/docs/quickstarts/first-webhook.mdx diff --git a/src/content/docs/quickstarts/first-webhook.mdx b/src/content/docs/quickstarts/first-webhook.mdx new file mode 100644 index 00000000..5e8e5c3e --- /dev/null +++ b/src/content/docs/quickstarts/first-webhook.mdx @@ -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