Home > front end >  node.js
node.js

Time:12-06

User. The req in js. The body is why can call app. Js load the body - parser

CodePudding user response:

The introduction of a third party plugins

CodePudding user response:

App. Use is to add the middleware to use, you are already in the beginning the third-party modules added, in the form of middleware in the access to the user. The access to the middleware before js, body - parser in the user. The js is access to the before, then it will post data processing, mounted to the req. The body, so the user. The js nature can access to res. The body of data on the
The req and res quite so every request of the newly created global object,
  • Related