Current lesson | Lesson 6/10

Inserting a New Object via POST and Installing Body Parser

Build a REST API with Node.js and Express — No Database 0%
Let's implement a POST endpoint to add new objects to the in-memory collection. I'll guide you through installing and configuring body-parser (or Express's built-in JSON middleware) to correctly parse the incoming request body.
Instructor
Up next Testing POST Requests with Postman