PARSE_URL

Returns an object that representing the parsed url

Syntax 

PARSE_URL(text)

Usage examples 

Example 1

Input

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

Formula

PARSE_URL(my_action.url)

Output

1
{
2
"domain": "tines.com",
3
"fragment": "123",
4
"host": "www.tines.com",
5
"path": "/test",
6
"port": 80,
7
"query": {
8
"baz": [
9
"a",
10
"b"
11
],
12
"foo": "bar"
13
},
14
"scheme": "http",
15
"tld": "com"
16
}
Was this helpful?