Learn R Programming

httr (version 1.4.1)

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
# NOT RUN {
r <- GET("http://httpbin.org/cookies/set", query = list(a = 1, b = 2))
cookies(r)
# }

Run the code above in your browser using DataLab