def list(self, request, *args, **kwargs): ss = SmartlingService(request.GET['locale']) response = ss.get_from_translator(request) return Response(response, status=status.HTTP_201_CREATED, content_type='text/html; charset=utf-8')