Opleiding: Create a REST API in Python with FastAPI (English) (Virtueel)

Lesmethode :

Virtueel

Algemeen :

The training on building REST APIs in Python with FastAPI covers essential topics in modern web development. It emphasizes the significance of REST APIs and microservices in creating scalable and maintainable applications. The distinction between pragmatic and non-pragmatic REST design approaches is explored to provide a foundation for effective API development.
The anatomy of HTTP requests is thoroughly examined, encompassing the protocol, address, path, query parameters, and headers, fostering a good understanding of the underlying communication.
To use REST APIs in Python (client-side) good frameworks exist. Two of the more popular libraries (Requests and HTTPX ) are explored in some depth, highlighting their versatility and benefits in working with RESTful services.
The training has a strong hands-on character. You’ll be creating, step-by-step, a REST APIs with FastAPI, starting from simple path operations and gradually incorporating various components like query parameters and request bodies.
You will be introduced to OpenAPI along the way. Among FastAPI’s built-in capabilities are the automatic creation of the API specification and a web-interface which uses this specification to interface with your API.
The integration of databases into FastAPI projects is covered, showcasing effective methods for interacting with persistent data.
Authentication, including the use of JSON Web Tokens (JWT), is addressed, empowering you to secure your APIs and manage user access effectively.
By the end of the training, you will gain a comprehensive skill set for developing robust, efficient, and secure REST APIs in Python using FastAPI, aligning with industry best practices.

Doel :

Understand the role of REST APIs in modern applications, and its good fit in cloud native architectures where microservices are pivotal.
Be able to create your own REST API using the leading framework FastAPI.
Appreciate the framework for its ability to work in both synchronous and asynchronous modes, levering modern Python Type Hinting and adhering to standards based (OpenAPI) REST interfaces.

Doelgroep :

DevOps engineers and application developers who need to use and create (microservices).
Data scientists to interface their models e.g. for creating an AI or Machine Learning app.

Voorkennis :

The following prior knowledge is required:
- The Python programming language
- Learn to program in Python

Onderwerpen :


- Introduction: microservices, HTTP, API technologies: GraphQL, gRPC, REST
- REST: HTTP, methods, URL
- REST client-side
- FastAPI: path components
- FastAPI: body components
- FastAPI: query components
- FastAPI: header components
- FastAPI: Cookies
- Persistent data, ORM as integration layer to databases
- Adding authentication

Meer...
€1.535
ex. BTW
Aangeboden door
AT Computing
Onderwerp
API
Web Development
Python
Engels
Niveau
Looptijd
2 dagen
Taal
en
Type product
training
Lesvorm
Klassikaal
Aantal deelnemers
Max: 12
Tijdstip
Overdag
Tijden en locaties
Virtueel
do 23 apr. 2026