New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookies don't seem to be persisting across requests #107
Comments
Ok, Thanks! I was hoping that there would be built in support. I'll see what I can do. The problem is that I need to make multiple different requests and save the cookie state after each one in order to login to a particular online service :/ |
Default jar storage? What's that? |
@sbrl shared instance of tough-cookie for example. |
@floatdrop Right. I don't understand how I can pass a default jar into a |
Bloated |
This thread doesn't answer the question how to use |
Does
got
support cookies? If so, how do I pass it a cookie jar? Where do I get a cookie jar? The README doesn't seem to explain this.Context: I'm switching a project of mine from request to got, which uses a cookie jar (it doesn't appear to work without one). When I finished switching it over, I got a "Not Authorised" response from a url in a sequence of 3 which I should have got a success response instead. This leads me to think that
got
isn't storing cookies correctly.The text was updated successfully, but these errors were encountered: