Server Routes / API
Server Routes define explicit HTTP endpoints for public APIs, webhooks, health checks, and downloads.
Basic Example
Server Route vs Server Function
Errors
Return explicit status codes and avoid leaking internal exceptions.
Server Routes define explicit HTTP endpoints for public APIs, webhooks, health checks, and downloads.
Return explicit status codes and avoid leaking internal exceptions.