Save
This commit is contained in:
1 parent
3942ac787e
commit
389996f0b3
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user