From the course: Express Essentials: Build Powerful Web Apps with Node.js
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Postman: A free tool for testing
From the course: Express Essentials: Build Powerful Web Apps with Node.js
Postman: A free tool for testing
- [Instructor] In our previous video, we created several new routes using the HTTP methods get, post, put, and delete. If we want to test the get method, it's pretty easy. We can just open our browser, go to the route, and we should see the data that we sent to the client. For the other HTTP methods, testing is a little bit more challenging. Luckily, there is a free tool that can help us test our routes called Postman. Postman has a lot of really cool features, but I'm going to keep things simple for the sake of our work with Express in this course, and just show you how to test our endpoints. We will start here on Postman.com. You have a couple of options when it comes to how you use Postman. For our purposes, we will need to download the desktop app to access our local host. Go ahead and select the operating system that you're working on, and download the desktop app. Since I'm working on a Mac, I'll go ahead and select the Mac icon, and then download the app on this next page. Once…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Getting started: Server and project setup16m 24s
-
(Locked)
Mock data is served: Adding data to your server6m 34s
-
(Locked)
What are HTTP methods and routes?8m 34s
-
(Locked)
Postman: A free tool for testing4m 28s
-
(Locked)
Let's GET some data: Creating a basic data endpoint2m 37s
-
(Locked)
Serving static files with Express6m 36s
-
-
-
-
-