This doesn't work for me. I am constantly getting a 401 error from cottertodolist after successful login. It looks like problem is with this part of code:
resp = requests.post(url, json=data, headers=headers) if resp.status_code != 200: resp.raise_for_status()
The error I get is: requests.exceptions.HTTPError: 401 Client Error: UNAUTHORIZED for url: https://cottertodolist.herokuapp.com/login_register
requests.exceptions.HTTPError: 401 Client Error: UNAUTHORIZED for url: https://cottertodolist.herokuapp.com/login_register
Any help is appreciated.
Hi Stanko, thanks for catching this! I believe this issue is resolved in Github.
Sure it is, I created the issue :)
Thanks for the solution.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This doesn't work for me. I am constantly getting a 401 error from cottertodolist after successful login. It looks like problem is with this part of code:
The error I get is:
requests.exceptions.HTTPError: 401 Client Error: UNAUTHORIZED for url: https://cottertodolist.herokuapp.com/login_register
Any help is appreciated.
Hi Stanko, thanks for catching this! I believe this issue is resolved in Github.
Sure it is, I created the issue :)
Thanks for the solution.