URL
URL(Uniform Resource Locator)
↓がめちゃくちゃわかりやすい
URL parts naming. Inspired from web browsers API (new URL(), window.location) and rfc3986.
from: https://twitter.com/bokken_/status/1553608887739109376?s=20&t=fFUuzw61tJqj8hi_WPFdFA
RFC 3986 - Uniform Resource Identifier (URI): Generic SyntaxがURLのRFC
https://www.google.comを例にすると
https://の部分がプロトコル(protocol)
httpがスキーム(scheme)
www.google.comがホスト名(hostname)
comがトップレベルドメイン(TLD)
googleがセカンドレベルドメイン(SLD)
wwwがサブドメイン(subdomain) or 下位ドメイン(lower level domain)
https://www.google.com:1234までがオリジン(origin)
scheme://username:password@test.abcdedgh.www.secondleveldomain.topleveldomain:1234/hello/world/basename.extension?name=ferret&sort=asc#hash
ポート番号はトップレベルドメインの後ろに:portの書式で付ける
オリジンより右側の/hello/world/basename.extensionはパス(pathname/path)
?name=ferret&sort=asc: クエリパラメータ
URLエンコード
確認用
Q. URL
Q. スキーマ
Q. ポート番号の位置
応用情報技術者令和4年秋期問35 URLでポート番号を指定する箇所|応用情報技術者試験.com
関連
DNS
同一生成元ポリシー
CORS
href
調査用
/pogi-log/Google.icon URL
/pogi-log/Wikipedia.icon
URL - Wikipedia(日)
URL(検索) - Wikipedia(日)
/pogi-log/Wikipedia.icon
URL - Wikipedia(英)
URL(検索) - Wikipedia(英)
メモ
URL - MDN Web Docs 用語集: ウェブ関連用語の定義 | MDN