PARSE_URL

Returns an object that representing the parsed url

Syntax 

PARSE_URL(text)

Examples 

Example 1

Input

{
  "my_action": {
    "url": "http://www.tines.com/test?foo=bar&baz=a&baz=b#123"
  }
}

Formula

PARSE_URL(my_action.url)

Output

{
  "fragment": "123",
  "host": "www.tines.com",
  "path": "/test",
  "query": {
    "foo": "bar",
    "baz": [
      "a",
      "b"
    ]
  },
  "scheme": "http",
  "domain": "tines.com",
  "tld": "com"
}
Was this helpful?