Is there a way to give a GET route default params in python Flask API?
for example:
I have this route: GET user?fields=...
and I can pass params with fields
that I want to get from this model (username, email and etc) and if I don't pass this fields
param it will get a default fields for the user that I will define in the route.
EDIT:: and is there a way to do it in POST requests