URL 解析器
输入 URL 查看全部组件:协议(方案)、主机名、端口、路径、查询参数(逐个解析)、哈希/片段、用户名和密码。可单独复制任意组件。调试 URL 和理解 URL 结构的必备工具。
href
https://user:pass@example.com:8080/api/v2/users?page=1&limit=20&sort=name&order=asc#section-2
protocol
https:
hostname
example.com
port
8080
pathname
/api/v2/users
search
?page=1&limit=20&sort=name&order=asc
hash
#section-2
origin
https://example.com:8080
host
example.com:8080
username
user
password
***
params
{
"page": "1",
"limit": "20",
"sort": "name",
"order": "asc"
}