enable hydrator
This commit is contained in:
parent
962fc2e5ca
commit
c59e7bf53d
|
@ -3,5 +3,5 @@ export default (req, res) => {
|
|||
console.log("body", req.body);
|
||||
console.log("cookies", req.cookies);
|
||||
|
||||
res.json(req.body);
|
||||
res.json({ header: req.body ? req.body.header : {}, extra: { foo: "bar" } });
|
||||
};
|
||||
|
|
Reference in New Issue