problem description
recently, middleware (body-parser) in express suddenly fails, req.body can not get any value , req.query can get the value . It was useful to add body-parser middleware at first, until yesterday when token was added, body-parser failed. Try to get rid of token, it is useless, it is not this problem, it is also said that the version is not right, the introduction of middleware, or useless!
related codes
const bodyParser = require("body-parser");
app.use(bodyParser.json());