#express#使用body-parser解析POST请求体

//导入body-parser模块
const bodyParser = require("body-parser");

//将模块注册上app实例上
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());
发布了11 篇原创文章 · 获赞 0 · 访问量 105

猜你喜欢

转载自blog.csdn.net/weixin_45037444/article/details/104136378
今日推荐