Course Information
Course Overview
Create a REST API with Python and Flask and Test using Postman
An API (Application Programming Interface) is a software intermediary that enables two applications to communicate seamlessly with each other. In simple terms, an API acts as a messenger—it takes a user’s request, sends it to the appropriate service or system, and then returns the response back to the requester. APIs form the backbone of modern software development, connecting web services, mobile apps, and databases into cohesive, interactive systems.
When developers build applications, they rarely start entirely from scratch. Instead, they use APIs to perform common, repetitive, or complex tasks efficiently. By doing so, they save time and ensure consistency across different projects. The ability of APIs to streamline communication between systems has made them essential in today’s fast-paced world of application and web development.
In this course, you will learn how to build a RESTful API using Python and Flask—two powerful tools widely used in backend development. Python, one of the most popular programming languages, is known for its simplicity and flexibility, while Flask is a lightweight and efficient web framework that makes building APIs fast and intuitive.
You will also learn to use Postman, a leading API testing and collaboration platform. Postman allows developers to create, send, and monitor HTTP/S requests, making it easy to test and document APIs.
Course Topics Include:
Installing and setting up Python
Installing Flask in a virtual environment
Creating classes and methods to define API logic
Building routes and endpoints for client-server communication
Working with Python dictionaries to handle data
Testing and validating endpoints using Postman
By the end of this course, you’ll have a solid understanding of how APIs work and the skills to design, build, and test your own using Python and Flask.
Course Content
- 3 section(s)
- 25 lecture(s)
- Section 1 Introduction
- Section 2 Install Python and Flask
- Section 3 Creating a flask project and API
What You’ll Learn
- Create an API
- Create classes for API application
- Add methods to classes
- Create Routes with endpoints
- Create a Python dictionary to store API Data
- Use Flask-Restful to simplify API building.
- Use Postman to test API endpoints
Skills covered in this course
Reviews
-
MMildred Semodio
I expected more on how to push a specific python file into the REST API.
-
NNobelium-Chloride :)
This course was super amazing!!! very easy to follow and understand
-
PPengyi Liao
The course is detailed, so you can definitely follow his course. I have 2 suggestions: 1. Add materials for cooperation between real dataset like PostgreSQL and Flask; 2. Add more coding practice. Right now this course lacks coding practice.
-
CCharles Knell
The post method coding is obsolete and doesn't work. Further, the video and code doesn't demonstrate that a new element was added to the COUNTRIES dictionary by showing the updated dictionary in postman.