codesandbox using node js doesnt display console output
codesandbox using node js doesnt display console output
I am trying to learn node js, so I have used the below example and implemented in codesandbox. The problem is, that I am not able to see the console in the browser console.log(req.body);
.
console.log(req.body);
module.exports = function(app, db)
app.post("/notes", (req, res) =>
// You'll create your note here.
console.log(req.body);
res.send("Hello");
);
;
Is there any problem in the codesandbox and how can I fix it?
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Were you able to figure this out? I can't figure out why console won't log.
– Noitidart
Jan 14 at 21:27