enable hydrator
This commit is contained in:
parent
4b94151fac
commit
1a4e3dd50f
|
@ -3,5 +3,5 @@ export default (req, res) => {
|
||||||
console.log("body", req.body);
|
console.log("body", req.body);
|
||||||
console.log("cookies", req.cookies);
|
console.log("cookies", req.cookies);
|
||||||
|
|
||||||
res.status(200).json({ name: "John Doe" });
|
res.status(200).json({ name: "John Doe", extra: { foo: "bar" }, header: { foo: ["bar1", "bar2"] } });
|
||||||
};
|
};
|
||||||
|
|
Reference in New Issue