• Course
    • Libraries: If you want this course, consider one of these libraries.
    • Core Tech

FastAPI: Advanced Request Handling and Middleware

This course teaches you essential techniques for building high-performance FastAPI applications with advanced middleware, dependency injection, and sophisticated HTTP request handling for enhanced API flexibility and security.

Nertil Poci - Pluralsight course - FastAPI: Advanced Request Handling and Middleware
by Nertil Poci

What you'll learn

Fast API's middleware system is one of its most powerful features, allowing you to process HTTP requests and responses at various stages of their lifecycle. In this course, FastAPI: Advanced Request Handling and Middleware, you'll learn to enhance your APIs with sophisticated middleware patterns and request processing techniques. First, you'll explore how to build custom middleware for logging, authentication, and response modification to improve your API's functionality. Next, you'll discover powerful techniques including conditional routing, dependency injection for request processing, and advanced HTTP header usage. Finally, you'll implement FastAPI hooks and dependency overrides for pre- and post-processing tasks, while incorporating third-party middleware for CORS, security, and rate limiting. When you're finished with this course, you'll have the advanced middleware and request handling skills needed to create flexible, maintainable, and high-performance FastAPI applications.

Table of contents

About the author

Nertil Poci - Pluralsight course - FastAPI: Advanced Request Handling and Middleware
Nertil Poci

Nertil is a independent software consultant working with different teams around the world to bring products to market. He is focused on using the right tools for the job.

More Courses by Nertil