📜  不推荐使用 body-parser - Javascript 代码示例

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

代码示例6
// on the js code, its as follows:
var bodyParser = require('bodyParser');

// Body 
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));