Dec
4
1 day ago
started
started time in 11 hours ago
Activity icon
issue

MikhilMC issue expressjs/body-parser

MikhilMC
MikhilMC

req.body could not be accessed when send as form data, but works fine with JSON

I was testing a form of only two values in Postman. When I tried to send data as form-data, req.body is not capturing by the server. But when I tried to send by pure JSON data, only then it is accepting. I had set header Content Type as application/json. I tried looking at the postman console. In there, the content of the form data is showing. But that data could not be accessed in node.js server. Please help me with this.

Dec
3
2 days ago
Activity icon
fork

Alis-Dev-idn forked expressjs/body-parser

⚡ Node.js body parsing middleware
Alis-Dev-idn MIT License Updated
fork time in 1 day ago
Activity icon
fork

djshinnn forked expressjs/body-parser

⚡ Node.js body parsing middleware
djshinnn MIT License Updated
fork time in 1 day ago
Dec
2
3 days ago
Activity icon
issue

floratmin issue expressjs/body-parser

floratmin
floratmin

badrequesterror

When I compress the request with zlib.gzip and set the Content-Length header

Activity icon
issue

floratmin issue expressjs/body-parser

floratmin
floratmin

badrequesterror

When I compress the request with zlib.gzip and set the Content-Length header

Activity icon
issue

floratmin issue expressjs/body-parser

floratmin
floratmin

badrequesterror

When I compress the request with zlib.gzip and set the Content-Length header

Dec
1
4 days ago
Previous