📜  我没有收到 req.body - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:40.603000             🧑  作者: Mango

代码示例1
You need to use a parser, To parse the data from req
You can use this middleware to do that
app.use(express.json({extended: true})