WLJS LogoWLJS Notebook

URLParse

URLParse["url"] takes a well-formed URL and gives an association whose values correspond to the components of the URL.

  • URLParse["url", "component"] returns only the specified component.
  • URLParse["url", {component1, component2, ...}] returns only the specified component list.

Examples

URLParse["https://example.com:8080/path?query=1#fragment"]
URLParse["https://user:[email protected]/page", "Host"]
URLParse["https://example.com/path", {"Scheme", "Path"}]

*See the official Wolfram Language Reference for more details.

On this page