Just some suggestions: Hey, in the latest versions of Express(4.18.1), we need not use body parser explicitly, instead we can use as: app.use(express.json()); app.use(express.urlencoded({ extended: true }));
Yeah i used it the same way in my 6th blog of this series where I performed the CREATE operation of CRUD
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Just some suggestions:
Hey, in the latest versions of Express(4.18.1), we need not use body parser explicitly, instead we can use as:
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
Yeah i used it the same way in my 6th blog of this series where I performed the CREATE operation of CRUD