enable hydrator
This commit is contained in:
parent
389a47d58c
commit
f4a8d9033a
|
@ -1,6 +1,7 @@
|
|||
export default (req, res) => {
|
||||
console.log(Object.keys(req));
|
||||
console.log(JSON.stringify(req));
|
||||
console.log("method", req.method);
|
||||
console.log("body", req.body);
|
||||
console.log("cookies", req.cookies);
|
||||
|
||||
res.json({ name: "John Doe" });
|
||||
};
|
||||
|
|
Reference in New Issue