Multer parses multipart form data when using postman, but doesn't parse multipart form data in request from client app
问题 I'm trying to use multer to support file upload from my react app client to my node/express backend. For some background, I've been using postman 6.7.2, node 8.11.1, express 4.16.3, and multer 1.4.1. After following a tutorial, I could use postman to log req.body and see the entries in the formdata; as in I can log the req.body and the req.file in the route handler () and the file even saves. But when I try sending a request from my react app, the req.body logs as {} and the req.file logs as