Learn R Programming

httr (version 1.4.7)

cookies: Access cookies in a response.

Description

Access cookies in a response.

Usage

cookies(x)

Arguments

x

A response.

See Also

set_cookies() to send cookies in request.

Examples

Run this code
if (FALSE) {
r <- GET("http://httpbin.org/cookies/set", query = list(a = 1, b = 2))
cookies(r)
}

Run the code above in your browser using DataLab