1. How do you parse JSON request bodies in Next.js API routes?
Next.js automatically parses request bodies in API routes when the Content-Type header is application/json, making req.body available as a JavaScript object without additional configuration. For other content types like application/x-www-form-urlencoded or multipart/form-data, you may need additional parsing or libraries. In App Router Route Handlers, you use the Request object with methods like await request.json() for JSON bodies or await request.formData() for form submissions, following Web API standards.