Webhooks

HTTP-triggered packages

In webhook mode, BASRUN calls your entry point on each request.

Example entry point

webhook.basilPOST
fn handle(req):
  log.info("incoming", req.method, req.path)
  return { status: 200, body: "ok" }
Security: verify signatures (Stripe, GitHub, etc.) and use secrets for shared keys.