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
get/set cookie? #44
Comments
thanks for the issue @happyshows at the moment there's nothing built in to help with cookies. you can set them manually like x <- HttpClient$new(
url = "https://httpbin.org",
opts = list(cookie = "c=1;f=5")
)
# set cookies
res <- x$get("cookies")
jsonlite::fromJSON(res$parse("UTF-8")) but they aren't yet persisted across requests - working on that working on some docs for this |
DOAJ sets cookies - good eg to work with |
#44 cookies man file for showing how to work with cookies, hopefully works as part of reusing handles, moved make_url inside of httpclient class bumped dev version
@happyshows can you reinstall |
i think we're good here |
Hi,
I have a use case where I need to set up cookie value when running GET/POST method (for a tmp authentication purpose). Is there a way to do so in this package?
The text was updated successfully, but these errors were encountered: