def echo(self, request, *args, **kwargs):
        response = HttpResponse("echo")

        try:
            response.data = request.data
        except __HOLE__:
            response.data = request.DATA

        return response
dataset/ETHPy150Open kevin-brown/drf-json-api/tests/views.py/EchoMixin.echo