This repository contains practice examples for working with FastAPI, focusing on path parameters, query parameters, and different HTTP methods (GET, POST, PUT, DELETE).
pathparameter.py
: Examples of using path parameters in FastAPI.queryparameter.py
: Examples of using query parameters in FastAPI.get.py
: Examples of handling GET requests in FastAPI.post.py
: Examples of handling POST requests in FastAPI.put.py
: Examples of handling PUT requests in FastAPI.delete.py
: Examples of handling DELETE requests in FastAPI.
To get started with this project, follow the steps below.
- Python 3.7+
- FastAPI
- Uvicorn
You can install FastAPI and Uvicorn using pip:
pip install fastapi uvicorn