[{"data":1,"prerenderedAt":263},["ShallowReactive",2],{"term-u\u002Furl":3,"related-u\u002Furl":243},{"id":4,"title":5,"acronym":6,"body":7,"category":222,"description":223,"difficulty":224,"extension":225,"letter":226,"meta":227,"navigation":228,"path":229,"related":230,"seo":236,"sitemap":237,"stem":240,"subcategory":241,"__hash__":242},"terms\u002Fterms\u002Fu\u002Furl.md","URL","Uniform Resource Locator",{"type":8,"value":9,"toc":216},"minimark",[10,15,19,23,32,36,205,209,212],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A URL is the complete web address of something on the internet — the full 'how to get there' including the protocol, domain, path, and any query parameters. It's what you type into the address bar. Every URL is a URI, but not every URI is a URL.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25,26],{},"A URL is a URI that specifies both the mechanism to access a resource and its location. Its structure: scheme:\u002F\u002Fusername:password@host:port\u002Fpath?query#fragment. For example: ",[27,28,29],"a",{"href":29,"rel":30},"https:\u002F\u002Fexample.com:443\u002Fapi\u002Fusers?page=2#results",[31],"nofollow",[11,33,35],{"id":34},"show-me-the-code","Show Me The Code",[37,38,43],"pre",{"className":39,"code":40,"language":41,"meta":42,"style":42},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Parse a URL in JavaScript\nconst url = new URL('https:\u002F\u002Fexample.com\u002Fapi\u002Fusers?page=2&limit=10#results');\nconsole.log(url.protocol);  \u002F\u002F 'https:'\nconsole.log(url.hostname);  \u002F\u002F 'example.com'\nconsole.log(url.pathname);  \u002F\u002F '\u002Fapi\u002Fusers'\nconsole.log(url.search);    \u002F\u002F '?page=2&limit=10'\nconsole.log(url.hash);      \u002F\u002F '#results'\n","javascript","",[44,45,46,55,95,121,142,163,184],"code",{"__ignoreMap":42},[47,48,51],"span",{"class":49,"line":50},"line",1,[47,52,54],{"class":53},"sHwdD","\u002F\u002F Parse a URL in JavaScript\n",[47,56,58,62,66,70,73,77,80,83,87,89,92],{"class":49,"line":57},2,[47,59,61],{"class":60},"spNyl","const",[47,63,65],{"class":64},"sTEyZ"," url ",[47,67,69],{"class":68},"sMK4o","=",[47,71,72],{"class":68}," new",[47,74,76],{"class":75},"s2Zo4"," URL",[47,78,79],{"class":64},"(",[47,81,82],{"class":68},"'",[47,84,86],{"class":85},"sfazB","https:\u002F\u002Fexample.com\u002Fapi\u002Fusers?page=2&limit=10#results",[47,88,82],{"class":68},[47,90,91],{"class":64},")",[47,93,94],{"class":68},";\n",[47,96,98,101,104,107,110,112,115,118],{"class":49,"line":97},3,[47,99,100],{"class":64},"console",[47,102,103],{"class":68},".",[47,105,106],{"class":75},"log",[47,108,109],{"class":64},"(url",[47,111,103],{"class":68},[47,113,114],{"class":64},"protocol)",[47,116,117],{"class":68},";",[47,119,120],{"class":53},"  \u002F\u002F 'https:'\n",[47,122,124,126,128,130,132,134,137,139],{"class":49,"line":123},4,[47,125,100],{"class":64},[47,127,103],{"class":68},[47,129,106],{"class":75},[47,131,109],{"class":64},[47,133,103],{"class":68},[47,135,136],{"class":64},"hostname)",[47,138,117],{"class":68},[47,140,141],{"class":53},"  \u002F\u002F 'example.com'\n",[47,143,145,147,149,151,153,155,158,160],{"class":49,"line":144},5,[47,146,100],{"class":64},[47,148,103],{"class":68},[47,150,106],{"class":75},[47,152,109],{"class":64},[47,154,103],{"class":68},[47,156,157],{"class":64},"pathname)",[47,159,117],{"class":68},[47,161,162],{"class":53},"  \u002F\u002F '\u002Fapi\u002Fusers'\n",[47,164,166,168,170,172,174,176,179,181],{"class":49,"line":165},6,[47,167,100],{"class":64},[47,169,103],{"class":68},[47,171,106],{"class":75},[47,173,109],{"class":64},[47,175,103],{"class":68},[47,177,178],{"class":64},"search)",[47,180,117],{"class":68},[47,182,183],{"class":53},"    \u002F\u002F '?page=2&limit=10'\n",[47,185,187,189,191,193,195,197,200,202],{"class":49,"line":186},7,[47,188,100],{"class":64},[47,190,103],{"class":68},[47,192,106],{"class":75},[47,194,109],{"class":64},[47,196,103],{"class":68},[47,198,199],{"class":64},"hash)",[47,201,117],{"class":68},[47,203,204],{"class":53},"      \u002F\u002F '#results'\n",[11,206,208],{"id":207},"when-youll-hear-this","When You'll Hear This",[16,210,211],{},"\"Share the URL to the staging environment.\" \u002F \"The URL is too long — use query parameters wisely.\"",[213,214,215],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":42,"searchDepth":57,"depth":57,"links":217},[218,219,220,221],{"id":13,"depth":57,"text":14},{"id":21,"depth":57,"text":22},{"id":34,"depth":57,"text":35},{"id":207,"depth":57,"text":208},"networking","A URL is the complete web address of something on the internet — the full 'how to get there' including the protocol, domain, path, and any query parameters...","beginner","md","u",{},true,"\u002Fterms\u002Fu\u002Furl",[231,232,233,234,235],"URI","URN","Query String","Path Parameter","Domain Name",{"title":5,"description":223},{"changefreq":238,"priority":239},"weekly",0.7,"terms\u002Fu\u002Furl",null,"LKRHEJze7DTju7hLk6Zw8nM-hfNN3bfQmoJva-tXRCY",[244,247,250,253,258],{"title":235,"path":245,"acronym":241,"category":222,"difficulty":224,"description":246},"\u002Fterms\u002Fd\u002Fdomain-name","A domain name is the human-friendly name for a website, like 'google.com' instead of '142.250.80.46'.",{"title":234,"path":248,"acronym":241,"category":222,"difficulty":224,"description":249},"\u002Fterms\u002Fp\u002Fpath-parameter","A path parameter is a variable embedded directly in the URL path. Instead of '?id=5', you put the value right in the path: '\u002Fusers\u002F5'.",{"title":233,"path":251,"acronym":241,"category":222,"difficulty":224,"description":252},"\u002Fterms\u002Fq\u002Fquery-string","A query string is the part of a URL after the question mark.",{"title":231,"path":254,"acronym":255,"category":222,"difficulty":256,"description":257},"\u002Fterms\u002Fu\u002Furi","Uniform Resource Identifier","intermediate","A URI is the general term for any identifier of a resource. URLs are URIs that tell you WHERE and HOW to get something.",{"title":232,"path":259,"acronym":260,"category":222,"difficulty":261,"description":262},"\u002Fterms\u002Fu\u002Furn","Uniform Resource Name","advanced","A URN names something uniquely without saying where to find it.",1776518320892]