Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用平均堆栈
和强大的上传文件
表单有一个 multipart/form-data 属性
exports.create = function(req, res) { console.log(req.body); }
但 rq.body 是空的。我怎么才能得到它 ?
如果您使用强大的分段上传,您可以获取 req.body 字段
form.parse(req, function(err, fields, files)
字段.项目