我在代码里用了一下 bodyParser:
app.use express.bodyParser()
结果马上给我来一堆警告:
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
前几天就觉得 Express 有点异样, 官网不知道是不是否过时了 http://expressjs.com/api.html#req.body
This property is an object containing the parsed request body. This feature is provided by the bodyParser() middleware
Koa 要来也不至于这边先跟不上吧, Express 团队最近是有什么状况么?