main #3
|
|
@ -15,7 +15,7 @@ class GrowSystemApi:
|
|||
self.base_url = self.device_info.server_url
|
||||
|
||||
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)
|
||||
jsonResult = json.loads(response.text)
|
||||
print(jsonResult)
|
||||
|
|
|
|||
Loading…
Reference in New Issue