def METHOD_NAME(self, request, *args, **kwargs):
    METHOD_NAME = RouteOptions.get_for_request(request)
    if request.method == 'POST':
        try:
            METHOD_NAME.update(request.POST, ignore_unknown=True)
        except ValidationError as e:
            return Response({
                'errors': (str(e),),
            }, status=400)
        METHOD_NAME.save()
    return Response(METHOD_NAME.serialize())