Route Handlers
Create a route.ts file in any app/ segment to define HTTP method handlers. Unlike old API routes, they use the standard Request and Response objects, making them portable to other runtimes.
Create a route.ts file in any app/ segment to define HTTP method handlers. Unlike old API routes, they use the standard Request and Response objects, making them portable to other runtimes.