powered by
Use ada-url to parse a url
ada_url_parse(url, decode = TRUE)
A data frame of the url components: href, protocol, username, password, host, hostname, port, pathname, search, and hash
character. one or more URL to be parsed
logical. Whether to decode the output (see utils::URLdecode()), default to TRUE
utils::URLdecode()
TRUE
For details on the returned components refer to the introductory vignette.
ada_url_parse("https://user_1:password_1@example.org:8080/dir/../api?q=1#frag")
Run the code above in your browser using DataLab