def METHOD_NAME(self, request):
    """Dispatches to GET or POST based on incoming request method"""
    valid, data = self.validate(request)
    if not valid:
        return abort(400, data)
    self._data = data
    parsed_data = self.parse_for_remote(data)
    if request.method == "POST":
        return self.post(parsed_data)
    if request.method == "GET":
        return self.get(parsed_data)
    return abort(400, f"Bad method '{request.method}'")