This commit is contained in:
Maik Müller 2024-05-04 11:46:32 +02:00
parent 3942ac787e
commit 389996f0b3
1 changed files with 1 additions and 1 deletions

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)