Express submission form problem

  node.js, question

For example, how can the form name=”post[title] “and name=”post[content]” be passed in the background?

var data =;
 var title = data.title

Get title

The premise of using the above code is that you have installed and used the bodyparser middleware, and then you can use it.

npm install body-parser