main #3

Merged
moltox merged 15 commits from main into dev 2024-05-07 14:16:42 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 389996f0b3 - Show all commits

View File

@ -15,7 +15,7 @@ class GrowSystemApi:
self.base_url = self.device_info.server_url self.base_url = self.device_info.server_url
def say_hello(self): def say_hello(self):
response = self.http_client.post(self.base_url + "/api/device", self._get_device_data()) response = self.http_client.post(self.base_url + "/api/device/hello", self._get_device_data())
print(response.text) print(response.text)
jsonResult = json.loads(response.text) jsonResult = json.loads(response.text)
print(jsonResult) print(jsonResult)