Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Vue Fullstack > Lesson 21

Body parser middleware

In Express, middleware is a function that can transform your request or response objects.

You can create your own middleware, or use some of the many open source middleware available through NPM.

Body parser middleware

Why I bring this up, is that by default, the body of a POST request in Node.js comes in as a stream.

To put the body data in the database, we need to handle the stream and turn it into a simple JavaScript object.


Back to course page

Click to load comments...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom