werefox-cafe/src/info/pages/api/hello.js

6 lines
157 B
JavaScript
Raw Normal View History

2021-04-07 15:46:55 -05:00
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
export default (req, res) => {
res.status(200).json({ name: 'John Doe' })
}