๐Ÿ“– Step 6: Development#443 / 498

Webhook

Webhook

๐Ÿ“–One-line summary

A mechanism where an external service automatically sends a notification to our server URL when an event happens.

โœจExample

// ์›นํ›… (Webhook)

ํŠน์ • ์ด๋ฒคํŠธ๊ฐ€ ์ผ์–ด๋‚˜๋ฉด ์™ธ๋ถ€ ์„œ๋น„์Šค๊ฐ€ ์šฐ๋ฆฌ ์„œ๋ฒ„ URL๋กœ ์ž๋™์œผ๋กœ ์•Œ๋ฆผ์„ ๋ณด๋‚ด์ฃผ๋Š” ๋ฐฉ์‹

> ready_

โšกVibe coding prompt examples

>_

Write a Next.js Route Handler for Stripe's payment-succeeded webhook, including signature verification and idempotent handling of duplicate events.

>_

Walk me through receiving and testing external webhooks during local development (Stripe CLI, ngrok).

>_

Write webhook integration code that posts to a Slack channel whenever a new user signs up.

Try these prompts in your AI coding assistant!