def put_json(location, json_data):
"""
Performs a PUT and passes the data to the URL location
"""
result = requests.put(location,
data=json_data,
auth=(USERNAME, PASSWORD),
verify=SSL_VERIFY,
headers=POST_HEADERS)
return result.json()
katello-publish-cvs.py 文件源码
python
阅读 26
收藏 0
点赞 0
评论 0
评论列表
文章目录