I would like to add a body property to Express.js\' response object, which will be called every time the send method is called, I do it by adding the f
body
send method is called
You have to use res.json(body). It will send "body" as a response body.Make sure body should be object.