Why res. body is undefined in express how can I get response body, Is there something wrong?
import {createProxyMiddleware} from 'http-proxy-middleware'
import bodyParser from 'body-parser'
import mung from "express-mung";
const app = express();
app.use(((req, res, next) => {
console.log(res.body)
next()
}))
app.get('/as', function (req, res, next) {
res.send("123")
})
app.listen(3001, () => console.log('start in http://localhost:3001'))