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

user_agent

Set user agent.


Description

Override the default RCurl user agent of NULL

Usage

user_agent(agent)

Arguments

agent

string giving user agent

See Also

Examples

GET("http://httpbin.org/user-agent")
GET("http://httpbin.org/user-agent", user_agent("httr"))

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.