user_agent

0th

Percentile

Set user agent.

Override the default RCurl user agent of NULL

Usage
user_agent(agent)
Arguments
agent

string giving user agent

See Also

Other config: add_headers, authenticate, config, set_cookies, timeout, use_proxy, verbose

Aliases
  • user_agent
Examples
# NOT RUN {
GET("http://httpbin.org/user-agent")
GET("http://httpbin.org/user-agent", user_agent("httr"))
# }
Documentation reproduced from package httr, version 1.4.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.