LocalPreview guide

Test webhooks against localhost.

Test Stripe, GitHub, and other webhook callbacks against localhost by giving providers a public LocalPreview callback URL.

Callbacks

Point webhook providers at your local route

Webhook providers need a reachable callback URL, but your handler often lives on localhost while you build it. LocalPreview gives that handler a public endpoint for real callback traffic.

Use the generated URL as the base for provider settings such as Stripe, GitHub, or another service that sends HTTP callbacks.

Debugging

Shorten the callback debugging loop

Because requests forward to the app on your machine, you can inspect logs, tweak handlers, and retry payloads without redeploying between each change.

That makes it easier to validate signatures, status codes, retries, and edge cases while the implementation is still moving.

Next steps

Keep exploring LocalPreview workflows.