D:\Program Files\Python37\lib\site-packages\urllib3\connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '139.9.213.72'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
Yvan1010+API模拟调测-智简园区网络+体验API模拟调测-智简园区网络
Yvan1010+快速体验-数据中心+无法体验 维护中
Yvan1010+ DEMO调试-数据中心(需提前下载安装SecoClient vpn客户端) +体验无法完成,VPN连接成功,访问实验室还是超时
Yvan1010+API模拟调测-数据中心+完成API模拟调测-数据中心
Yvan1010+任务三: 参考学习教程完成Python API调用+体验顺畅 用时短
返回结果 文字版:
1.【Get Token Id】
【post_token_url】:https://139.9.213.72:18002/controller/v2/tokens
【token_id】:x-cafyfx2no5fx6n0bs5iodhikarrunvhjpigadhvxlc885gthtg9d45ca2pipvzjziktfmk075erspik7in1i9gep5cjsbtc548qndflc0baq1gljqmjspdtec8sa6ldi
D:\Program Files\Python37\lib\site-packages\urllib3\connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host '139.9.213.72'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
2.【Get Sites Info】
【get_sites_url】:https://139.9.213.72:18002/controller/campus/v3/sites?pageIndex=0&pageSize=20
【total_records】:1
{"errcode":"0","errmsg":"","totalRecords":1,"pageIndex":0,"pageSize":100,"data":[{"id":"fa35a740-4883-42a6-967f-7e1740aea7f6","tenantId":"51c457fb-b1d5-49a6-a638-376b51234eb5","name":"site01","description":"","type":["FW","AP"],"latitude":"39.904053","longtitude":"116.404121","contact":null,"tag":[],"isolated":null,"email":"","phone":"","postcode":null,"address":null}]}