From the course: Learning End-to-End Testing with Jest

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Testing endpoints on Postman

Testing endpoints on Postman

- [Narrator] Because our template's project is a headless rest full web service with no front-end. We need to use postman to test our API endpoints to make sure the project is working as it should before writing it and tests on it. I already have Postman installed on my computer. If you do not have yours installed go to Postman's official website. Download and install the Postman application. You need to register to be able to use the application or use Google signup. Once you have the application installed, it is going to look something like this. Our projects is running on ports 0808. Therefore, our endpoints for this project will always start with: "http://localhosts:0808". So, we can as well set our base URL to this value. Go to the eye icon at the top right corner of postman, click on add. Name the environments "localhosts". Set variable to "base_url" and put the initial value and current value to…

Contents