set_cookies

0th

Percentile

Set cookies.

Set cookies.

Usage
set_cookies(..., .cookies = character(0))
Arguments
...
a named cookie values
.cookies
a named character vector
See Also

Other config: accept_json, accept_xml, add_headers, authenticate, config, timeout, use_proxy, user_agent, verbose

Aliases
  • set_cookies
Examples
set_cookies(a = 1, b = 2)
set_cookies(.cookies = c(a = "1", b = "2"))

GET("http://httpbin.org/cookies")
GET("http://httpbin.org/cookies", set_cookies(a = 1, b = 2))
Documentation reproduced from package httr, version 0.1.1, License: MIT

Community examples

Looks like there are no examples yet.