diff --git a/osiris_node.py b/osiris_node.py new file mode 100644 index 0000000..152764f --- /dev/null +++ b/osiris_node.py @@ -0,0 +1,14 @@ +import requests + +nuc_ip = '192.168.178.52' +url = f'http://{nuc_ip}:9713/osiris_execute' + +command = "testcommand" + +response = requests.post(url, json={'command': command}) + +if response.status_code == 200: + result = response.json() + print('Response:', result.get('message')) +else: + print('Failed to execute script:', response.json()) \ No newline at end of file