When console-logging a req.body I noticed that while
console.log(JSON.parse(req.body));
displays the parsed values as expected, using backticks for string formatting (e.g.:
console.log(`parsed: ${JSON.parse(req.body)}`);
) logs 'object object' instead.
Why?
Thanks!
PS: sorry for the snippets but using backticks disturbs my second sample's visualisation.