赞
踩
目录
- import requests
- import json
- auth_url = "https://localhost:8080/authn/login"
- data = {"username": "root", "password": "root"}
- header = {"Content-Type": "application/json"}
- ret = requests.post(auth_url, data=json.dumps(data), verify=False, headers=header)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。