Nextjs Guideline: API — Handle HTTP methods explicitly. Description: Export named functions for methods. Do: Export GET POST PUT DELETE. Don't: Single handler for all methods. Good Example: export async function POST(). Bad Example: switch(req.method). Severity: Low. Docs: .