i code in nodejs. i have for example an object
var foo = {"a": "b"}
But when i do
res.send(JSON.stringify(foo))
postman respons me by default as an HTML.
res.send(foo)
, the same thing...
But I want to make postman respond me a valid JSON by default
how to do it ?