Skip to content
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

cookie jar for crul? #61

Open
sckott opened this issue Jan 19, 2018 · 6 comments
Open

cookie jar for crul? #61

sckott opened this issue Jan 19, 2018 · 6 comments

Comments

@sckott
Copy link
Collaborator

sckott commented Jan 19, 2018

https://github.com/miyagawa/faraday-cookie_jar

@dickoa
Copy link

dickoa commented Feb 25, 2021

Hi @sckott

I hope all is good and thanks again for crul it's my go to for interfacing API.
I wanted to know if there's a way to use cookie-jar with crul (even if it's not direct i.e using curl).

Thanks again,
Ahmadou

@sckott
Copy link
Collaborator Author

sckott commented Feb 25, 2021

Thanks for the ping and thanks for using crul

A better model than the link above is probably python's requests - for reference for discussion

https://requests.readthedocs.io/en/latest/user/quickstart/#cookies
https://requests.readthedocs.io/en/master/_modules/requests/cookies/

Have you seen this crul help page? https://docs.ropensci.org/crul/reference/cookies.html There's minimal support for cookies, basically you have to set cookies manually, very little user interface on top to make it easier.

Might try something like what requests has

@sckott
Copy link
Collaborator Author

sckott commented Feb 26, 2021

Work on branch cookie-jar - It looks somewhat complicated, so may not get around to this. Will be faster if someone wants to tackle this

@dickoa
Copy link

dickoa commented Feb 26, 2021

Oh wow that's really great, I will play around, test and will come back to you (hopefully with code if needed).
Thanks a lot

@sckott
Copy link
Collaborator Author

sckott commented Feb 26, 2021

To be clear, its not useable yet.

@dickoa
Copy link

dickoa commented Feb 27, 2021

Thanks a lot for starting working on this, I will try to play with it already there and see if I can report back on how to make it more usable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants