Astro Guideline: API — Handle methods correctly. Description: Export named method handlers. Do: export GET POST handlers. Don't: Single default export. Good Example: export const GET = async () => {}. Bad Example: export default async () => {}. Severity: Low. Docs: .