From the course: Building RESTful APIs with Flask

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Testing with Postman

Testing with Postman

From the course: Building RESTful APIs with Flask

Start my 1-month free trial

Testing with Postman

- [Instructor] In the last video, we got our API server running and we checked our endpoints with the web browser. It's fine to use the web browser to check your basic routes. As our app progresses, we're going to be using different HTTP verbs, specifically we'll use Get, Host, Put, and Delete. These correspond with the four basic CRUD operations, Create, Read, Update, and Delete. So for a Get request, which is what the web browser does by default, it's fine to preview your endpoints in your browser, but for all other verbs, you're going to need something a little more capable. There are many options out there including a built in scripting and testing tool that's part of PyCharm, but the best tool I've found for testing APIs is Postman. Postman has a lot of capability and we're only going to use a fraction of what it can do. Let's get our feet wet with Postman. Go ahead and launch Postman. After the loading screen has done its thing, just click the X at the top of the splash dialog…

Contents