diff --git a/standalone_command.py b/standalone_command.py index dcb28b9..73a31dd 100644 --- a/standalone_command.py +++ b/standalone_command.py @@ -14,6 +14,7 @@ def is_command(command:str)->bool: else: return False +@api.route('/api/v1/exec', methods=['GET']) def handle_command(command, rest): if command == "!echo": message = "Got payload [%s]" % rest