How to pass URL parameters and get the values with GET request method in Django rest framework
I want to pass url parameters in this format http://localhost:8000/api/projects/?id=2021&a=2&b=3&c=4 and get the values in view function
In DRF you can get values of perms like this...
URL = http://localhost:8000/api/projects/?id=2021&a=2&b=3&c=4
id = request.query_params.get('id')
a = request.query_params.get('a')
b = request.query_params.get('b')
c = request.query_params.get('c')
print(id,a,b,c)
