You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a proper way to process request's response according to documentation.
Don't use string representation - it is not reliable.
Use like this:
r.status_code == requests.codes.ok
API_Examples/Workflow_via_CSV/initTemplate.py
Line 67 in 2d9b8fe
Use a proper way to process request's response according to documentation.
Don't use string representation - it is not reliable.
Use like this:
r.status_code == requests.codes.ok
http://docs.python-requests.org/en/latest/user/quickstart/#response-status-codes