How does node.js background get the data transferred by ajax?

  node.js, question

This is ajax data

This is a backstage acquisition
This was inserted into the database, and found that name and content are all empty. How can I get ajax data?

1. First of all, the building owner is at the front end$title.val()And$content.val()Did you really get the value?

2. Assuming that the landlord does get the corresponding value at the front end, try to

Data: "name= "plus $name.val ()  ...

Change to

data: {
 name: $name.val()   ...