def METHOD_NAME(self, request, *args, **kwargs):
    """Override to clean data before processing it."""
    serializer = self.get_serializer(data=self.clean_data(request.data))
    serializer.is_valid(raise_exception=True)
    self.perform_create(serializer)
    headers = self.get_success_headers(serializer.data)
    return Response(serializer.data, status=status.HTTP_201_CREATED, headers=headers)