Table of Contents
Preface
Part 1: Application-Related Architectural Concepts for FastAPI microservice development
1
Setting Up FastAPI for Starters
Technical requirements
Setting up the development environment
Initializing and configuring FastAPI
Designing and implementing REST APIs
Managing user requests and server response
Parameter type declaration
Path parameters
Query parameters
Default parameters
Optional parameters
Mixing all types of parameters
Request body
Request headers
Response data
Handling form parameters
Managing cookies
Summary
2
Exploring the Core Features
Technical requirements
Structuring and organizing huge projects
Implementing the API services
Importing the module components
Implementing the new main.py file
Managing API-related ...
Get Building Python Microservices with FastAPI now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.