📜  不推荐使用 bodyparser express - Javascript 代码示例

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

代码示例6
const app = express()
app.use(express.json({ limit: "2mb" }));
app.use(express.urlencoded({ extended: true }));