hello.js 170 Bytes Raw Blame History Permalink 1 2 3 4 5 // Next.js API route support: https://nextjs.org/docs/api-routes/introduction export default function handler(req, res) { res.status(200).json({ name: 'John Doe' }) }