Код: Выделить всё
curl -H "Authorization: Token token=" https:///api/v1/users
Код: Выделить всё
from zammad_py import ZammadAPI
client = ZammadAPI(url=HOST, http_token=api_token)
# Example: Access all users
this_page = client.user.all()
for user in this_page:
print(user)
Код: Выделить всё
requests.exceptions.SSLError: HTTPSConnectionPool(host=, port=443): Max retries exceeded with url: /users/me (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)')))
Есть ли у кого-нибудь идеи? ?
Подробнее здесь: https://stackoverflow.com/questions/792 ... curl-works
Мобильная версия