How to use cURL to send Cookies?
I read that sending cookies with cURL works, but not for me. I have a REST endpoint like this: class LoginResource(restful.Resource): def get(self): print(session) if ‘USER_TOKEN’ in session: return ‘OK’ return ‘not authorized’, 401 When I try to access the endpoint, it refuses: curl -v -b ~/Downloads/cookies.txt -c ~/Downloads/cookies.txt http://127.0.0.1:5000/ * About to connect() to … Read more