'Import Url path to postgreSQL
I am using FastAPI
I have a POST method with a url like this: '/{id}/report'
I want to have the id parameter in my database, but I don't want to add it in the request body. I want to extract it from url and add it to my PostgreSQL database.
how can I do this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
