12345678910111213141516171819202122 |
- import requests
- # server_host = "https://www.zositech.xyz"
- #
- #
- # res = requests.get(server_host + '/oa2/discoverydevice?area=useast®ion=en&access_token=Qd0HMlbALEDhZ1mg5Mw4MeGiYT4gi4FX')
- # print(res.json())
- #
- # import requests
- #
- server_host = "https://www.zositech.xyz"
- #
- post_data = {
- 'area': 'useast',
- 'region': 'en',
- 'access_token': 'Qd0HMlbALEDhZ1mg5Mw4MeGiYT4gi4FX'
- }
- res = requests.post(
- url=server_host + '/oa2/discoverydevice',
- data=post_data
- )
- print(res.json())
|