Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

set_config

Set (and reset) global httr configuration.


Description

Set (and reset) global httr configuration.

Usage

set_config(config, override = FALSE)

reset_config()

Arguments

config

Settings as generated by add_headers(), set_cookies() or authenticate().

override

if TRUE, ignore existing settings, if FALSE, combine new config with old.

Value

invisibility, the old global config.

See Also

Other ways to set configuration: config(), with_config()

Examples

GET("http://google.com")
set_config(verbose())
GET("http://google.com")
reset_config()
GET("http://google.com")

httr

Tools for Working with URLs and HTTP

v1.4.2
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.