From d55b3062e870fbf39788d04d0856f2e2fda79418 Mon Sep 17 00:00:00 2001 From: dtookey Date: Tue, 20 Apr 2021 21:24:34 -0400 Subject: [PATCH] implemented dummy stuff this time with execution --- standalone_command.py | 1 + 1 file changed, 1 insertion(+) 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