diff --git a/pages/api/echo.ts b/pages/api/echo.ts new file mode 100644 index 0000000..96716df --- /dev/null +++ b/pages/api/echo.ts @@ -0,0 +1,6 @@ +import type { NextApiRequest, NextApiResponse } from "next"; + +export default async (req: NextApiRequest, res: NextApiResponse) => { + res.send('hello, world'); + res.end(); +}