Migrate to Express 4

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

Express 4 is almost ready for release. The previous lessons looked at Express 3, but will use Express 4 going forward. This lesson will explain some of the main breaking changes.

Julian
~ 10 years ago

If you are getting a "body-parser deprecated" message.

Replace: app.use(bodyParser());

With: app.use(bodyParser.urlencoded({extended: true}));