implemented dummy stuff this time with execution

This commit is contained in:
dtookey 2021-04-20 21:24:34 -04:00
parent a38f99c5a0
commit d55b3062e8

View File

@ -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