How to access get request data in django rest framework
问题 How to access GET request data in django rest framework. In the docs, they have mentioned "For clarity inside your code, we recommend using request.query_params instead of the Django's standard request.GET" https://www.django-rest-framework.org/api-guide/requests/ But when I use request.query_params.get('some_vaue') it gives me none even though I pass the data in the request body. sample code example: class TestView(APIView): def get(self, request): test = request.query_params.get('test')