URL

URL["url"]

is a symbolic representation of a URL.

Details

  • In URL["url"], "url" can be any kind of URL. Supported URL schemes include:
  • http:HTTP protocol
    https:secure HTTP protocol
    ftp:file transfer protocol
    sftp:secure file transfer protocol
    scp:secure copy protocol
    file:local file
  • In URL["url"], the resource referred to by url does not need to exist or be accessible.
  • Information for a URL may include the following properties:
  • "Scheme"URL scheme (appearing at the beginning)
    "User"user information
    "Domain"domain name or host
    "Port"port number (appearing after :)
    "Path"path list (separated by /)
    "PathString"complete path as a string
    "AbsoluteDomain"complete domain as a string, including scheme
    "AbsolutePath"complete path as a string, including scheme and domain
    "Query"list of parameter-value pairs (appearing after ?)
    "QueryString"complete query string
    "Fragment"fragment specification (appearing after #)

Examples

open allclose all

Basic Examples  (2)

Get a textual snippet from the Wolfram website:

Without the URL wrapper, the string itself will be used as data:

Formatting of a URL object:

Scope  (3)

A URL object need not refer to an existing or reachable resource:

A URL object can refer to any supported protocol:

Specify a username in the protocol:

Wolfram Research (2016), URL, Wolfram Language function, https://reference.wolfram.com/language/ref/URL.html (updated 2019).

Text

Wolfram Research (2016), URL, Wolfram Language function, https://reference.wolfram.com/language/ref/URL.html (updated 2019).

CMS

Wolfram Language. 2016. "URL." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/URL.html.

APA

Wolfram Language. (2016). URL. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/URL.html

BibTeX

@misc{reference.wolfram_2024_url, author="Wolfram Research", title="{URL}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/URL.html}", note=[Accessed: 17-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_url, organization={Wolfram Research}, title={URL}, year={2019}, url={https://reference.wolfram.com/language/ref/URL.html}, note=[Accessed: 17-December-2024 ]}