url join
for network> url join {flags}
input | output |
---|---|
record | string |
Outputs a url representing the contents of this record
> {
"scheme":"http",
"username":"",
"password":"",
"host":"www.pixiv.net",
"port":"",
"path":"/member_illust.php",
"query":"mode=medium&illust_id=99260204",
"fragment":"",
"params":
{
"mode":"medium",
"illust_id":"99260204"
}
} |url join
http://www.pixiv.net/member_illust.php?mode=medium&illust_id=99260204
Outputs a url representing the contents of this record
> {
"scheme":"http",
"username":"user",
"password":"pwd",
"host":"www.pixiv.net",
"port":"1234",
"query":"test=a",
"fragment":""
} |url join
http://user:[email protected]:1234?test=a
Outputs a url representing the contents of this record
> {
"scheme":"http",
"host":"www.pixiv.net",
"port":"1234",
"path":"user",
"fragment":"frag"
} |url join
http://www.pixiv.net:1234/user#frag
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/url_join.html