https://docs.djangoproject.com/en/1.11/ref/request-response/#django.http.HttpRequest.GET
HttpRequest.GET
A dictionary-like object containing all given HTTP GET parameters. See the QueryDict documentation below.
https://docs.djangoproject.com/en/1.11/ref/request-response/#django.http.QueryDict
In an HttpRequest object, the GET and POST attributes are instances of django.http.QueryDict, a dictionary-like class customized to deal with multiple values for the same key. This is necessary because some HTML form elements, notably , pass multiple values for the same key.
The QueryDicts at request.POST and request.GET will be immutable when accessed in a normal request/response cycle. To get a mutable version you need to use QueryDict.copy().
from rest_framework.views import APIView
def get(self, request):
param = request.GET
filter_content = param.get(‘filter_content’, None)