blob: 5d79cc12c2aa19fcdea467a3ace01eacbc103f4b (
plain)
1
2
3
4
5
6
7
|
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
const helloAPI = (req, res) =>{
res.status(200).json({ name: 'John Doe' })
}
export default helloAPI;
|