Save
This commit is contained in:
parent
3942ac787e
commit
389996f0b3
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue