Request body is null after upgrade from 1.4.4 to 1.4.5-lts.1
Open
investigate
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 1.1k
- Avg merge
- 8d 2h
- Merged PRs (30d)
- 21
Description
my request like this:
` POST http://localhost:8000/cos/uploadOneFile
Content-Type: multipart/form-data; boundary=WebAppBoundary
--WebAppBoundary
Content-Disposition: form-data; name="param1";
Content-Type: text/plain
abc
--WebAppBoundary
Content-Disposition: form-data; name="upload"; filename="event/test1.jpg"
Content-Type: image/jpeg
< /root/test-00-04-49-489.jpg `
and I cannot get param1 from request body, and my code like this
`router.post('/uploadOneFile', upload.single('upload'), (request, response) => {
let { param1 } = request.body;
}`
Contributor guide
Assessment
This issue has not been assessed yet.