def METHOD_NAME(self, request, *args, **kwargs):
    input_serializer = STDCMInputSerializer(data=request.data)
    input_serializer.is_valid(raise_exception=True)
    request_data = input_serializer.validated_data
    return Response(compute_stdcm(request_data, self.request.user.sub))