In this video, Emmanuel Henri introduces Postman and how it is used in this course. Then he installs the tool so you have it ready for API testing.
- [Instructor] Because we're not using any front end, or this course is about building a back end, we need to be able to test and use the API endpoints we'll create in this course. This is where Postman will be used to allow us to get data, post new items, update or delete them. So go to getpostman.com and once you get to the website, feel free to browse and take a look at what features it offers. It's very useful and it's very popular, too. So whatever version of your OS that you're using, click on the OS itself and go ahead and download Postman.
By the way, while I'm thinking about it, there's a paid version as well but you don't have to pay for it in order to use it. It has all the features that we need with the free version. So once you've got it downloaded, install it. So in a Mac you extract and then just drag and drop into your Applications here like so. So, go inside of your Applications and open Postman. Alright, so you can either create a new user or use Google.
I usually use my Google account to do that. Let's go ahead and do that. Okay, so once you're inside of Postman, as you can see, because I already have an account it kind of keeps all the calls that I made with Postman. So I'm going to clear that so we have a clean slate here. So what basically Postman allows you to do is to grab the API endpoints and make any API calls.
So for example, if we do a Get, then you enter the API and then you can send it. You can also enter Params. You can also enter things in the body if you are requesting specific things such as an ID or specific items that the API offers, and you have all the calls that you can make through an API. So we'll use Get, Post, Put, and Delete in this course and Postman will allow us to really test and add things to our little API that we'll create momentarily.
So now we got Postman set up and ready to go for our APIs.
- Setting up a project and a server
- Setting up a database and schema
- Creating POST, GET, PUT, and DELETE endpoints
- Serving files