def route_method(): json_payload = request.get_json() method_router = Methods.Method(json_payload) method_response = method_router.route_method() return method_response