hierarchical-estimates-visu.../packages/webpage-legacy/pages/api/hello.js
2022-06-19 19:25:55 -04:00

6 lines
171 B
JavaScript

// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
export default function helloAPI(req, res) {
res.status(200).json({ name: 'John Doe' })
}