FastAPI makes processing Headers very easy, just like everything else. There are two ways to process headers with FastAPI.
How to Write Middleware using FastAPI
For one of my project, I needed to host an API service on the RapidAPI platform. In order to make sure that all the requests to the application are routed via RapidAPI I needed to check special header sent by RapidAPI.
Invalid Interview Questions: Linked List in python
Since I am not able to sleep, I started thinking about “incorrect” interview questions.
Three ways to list all users in Postgres
I was trying to setup local postgres via docker, and wanted to see if my default user was created. I found out that there is more than one way to skin the cat.