You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't obtain form-data of a post request.
req.body is empty or undefined.
I see in express.js app.use(bodyParser.urlencoded({ extended: true }));
It seems to be ok but I don't know. I tried to make the same request in a clean express js rest api and it worked correctly.
The Content-type is application/json
The text was updated successfully, but these errors were encountered:
I can't obtain form-data of a post request.
req.body is empty or undefined.
I see in express.js
app.use(bodyParser.urlencoded({ extended: true }));
It seems to be ok but I don't know. I tried to make the same request in a clean express js rest api and it worked correctly.
The Content-type is application/json
The text was updated successfully, but these errors were encountered: