4
cURL을 사용하여 쿠키를 보내는 방법?
curl이있는 쿠키 보내기가 작동하지만 나에게는 그렇지 않다는 것을 읽었 습니다. 나는 다음과 같은 REST엔드 포인트를 가지고 있다 : class LoginResource(restful.Resource): def get(self): print(session) if 'USER_TOKEN' in session: return 'OK' return 'not authorized', 401 내가 다음과 같이 액세스하려고하면 : curl -v -b ~/Downloads/cookies.txt -c ~/Downloads/cookies.txt http://127.0.0.1:5000/ * About to connect() to …