Testing Todos for the patch call

Now, to test this out I'm going to save the server file and start up the server over in the Terminal. I'll use clear to clear the Terminal output and we can run npm start to start up the app. The app is up and running on port 3000, so over inside of Postman we can make some requests to see exactly how this works. I'm going to switch to the Todo App Local environment and make a GET /todos request so we can get a real ID for one of our Todo items, and you can see we have some old data from our tests right here:

I'm going to grab this second one with a text property equal to Second test todo, then I'm going to ...

Get Advanced Node.js Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.