我对Python不熟悉
如何使用python发布以下内容,我需要登录到ciscovnmc并进行登录,从输出中获取cookie,然后进行注销
POST https://10.193.34.70/xmlIM/mgmt-controller
Please enter content (application/x-www-form-urlencoded) to be POSTed:
<aaaLogin
inName="admin"
inPassword="cisco@123"/>
给我一个建议。你知道吗
http://docs.python.org/2/library/httplib.html
您可以执行第一个请求,从响应中获取cookie,以及您需要对该模块执行的任何操作。你知道吗
为Python使用最先进的请求模块
http://docs.python-requests.org/en/latest/
相关问题 更多 >
编程相关推荐