我有同样的问题。该
verify参数引用服务器的证书。您希望
cert参数指定您的客户端证书。
import requestscert_file_path = "cert.pem"key_file_path = "key.pem"url = "https://example.com/resource"params = {"param_1": "value_1", "param_2": "value_2"}cert = (cert_file_path, key_file_path)r = requests.get(url, params=params, cert=cert)


