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)

httr documentation built on Aug. 15, 2023, 9:08 a.m.