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

modify_url

Modify a url.


Description

Modify a url by first parsing it and then replacing components with the non-NULL arguments of this function.

Usage

modify_url(
  url,
  scheme = NULL,
  hostname = NULL,
  port = NULL,
  path = NULL,
  query = NULL,
  params = NULL,
  fragment = NULL,
  username = NULL,
  password = NULL
)

Arguments

url

the url to modify

scheme, hostname, port, path, query, params, fragment, username, password

components of the url to change


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.