Python FastAPI Tutorial: Build a REST API in 15 Minutes

Опубликовано: 11 Сентябрь 2023
на канале: pixegami
60 тыс
2 тыс

Learn how to install and build your first app with FastAPI (a high-performance web framework for Python).

In this tutorial, you'll learn how to instal FastAPI, and use it to create a new app. Learn how to define routes, handle errors, use request and path parameters, validating data with Pydantic models, modelling responses, and how to use the interactive documentation.

Code:
FastAPI:

Chapters
00:00 Why Use FastAPI?
00:49 Install and Get Started with FastAPI
02:22 GET and POST Routes
05:27 Handling HTTP Errors
06:48 JSON Request and Path Parameters
10:38 Response Models
11:42 Interactive Documentation
13:31 FastAPI vs Flask


Смотрите видео Python FastAPI Tutorial: Build a REST API in 15 Minutes онлайн без регистрации, длительностью 15 минут 16 секунд в хорошем hd качестве. Это видео добавил пользователь pixegami 11 Сентябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 60 тысяч раз и оно понравилось 2 тысяч людям.