In this tutorial I code a basic REST API using Python and the Flask framework.
You code along with me! So this shows a typical approach with all the mistakes and problem solving you get with a real-world task.
Links
🔗 Check out the GitHub project here: https://github.com/devtiro/rest-books...
🔗 Python Starter: https://github.com/devtiro/devtiro-py...
Timestamps
0:00 Intro
0:15 REST API Primer
0:37 Project Setup
3:55 Installing Flask
5:54 Create Endpoint
9:00 Flask Test Setup
10:10 Create Endpoint Test
13:24 Get Retrieve Endpoint
15:07 Get Retrieve Endpoint Test
18:36 Test Pollution
19:15 Get List Endpoint
20:49 Get List Endpoint Test
22:38 Update Endpoint
23:37 Update Endpoint Test
27:11 Delete Endpoint
28:40 Delete Endpoint Test
30:45 Test with Postman
33:13 Outro
Смотрите видео Become a Web Developer: Let's Build a REST API in Python & Flask онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Devtiro 18 Декабрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,551 раз и оно понравилось 58 людям.