This notebook is prepared for Mysoly API/Backend session on 04.09.2024
1. Introduction to API
2. REST API
2.1 Sample Public APIs (GET)
2.2. Status Codes
2.3 API Requests
3. POSTMAN
4. FastAPI
4.1 Hello World!
4.2 Endpoints
4.3. Dynamic Endpoints
4.4. HTTP POST Methods
5. Usage of CRUD Functionalities with FastAPI
5.1 Setting up FastAPI and Dummy Data
5.2 GET Requests
5.3 POST Request
5.4 PUT Request
5.5 DELETE Request
5.6 Running the Server
6. Secret Key and WSGI/ASGI Explanation
6.1 Securing Endpoints with a Secret Key
6.2 GET Requests with a Secret Key
6.3 POST Request with a Secret Key
6.4 PUT Request with a Secret Key
6.5 DELETE Request with a Secret Key
6.6. Running the FastAPI Server with a Secret Key
Thanks to Ömer Faruk Koran for his valuable contribution