How to Return JSON and Status Codes from Next.js APIs | asif.to Tutorials