Express Code Used for Form Submissions
Posted on August 21, 2019 in Expresss, Node.js by Matt Jennings
When NOT using body-parser the two lines of code must be used for form submissions:
// Sets up the Express app to handle data parsing app.use(express.urlencoded({ extended: true })); app.use(express.json());