cookies: Access cookies in a response.

View source: R/cookies.r

cookiesR Documentation

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

## Not run: 
r <- GET("http://httpbin.org/cookies/set", query = list(a = 1, b = 2))
cookies(r)

## End(Not run)

r-lib/httr documentation built on Nov. 5, 2023, 7:26 a.m.