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