def _request_put(self, path, data=None, params=None):
url = urljoin(BASE_URL, path)
headers = self._get_request_headers()
response = requests.put(url, json=data, params=params, headers=headers)
response.raise_for_status()
if response.status_code == 200:
return response.json()
评论列表
文章目录