[{"data":1,"prerenderedAt":200},["ShallowReactive",2],{"term-u\u002Furi":3,"related-u\u002Furi":181},{"id":4,"title":5,"acronym":6,"body":7,"category":161,"description":162,"difficulty":163,"extension":164,"letter":165,"meta":166,"navigation":167,"path":168,"related":169,"seo":174,"sitemap":175,"stem":178,"subcategory":179,"__hash__":180},"terms\u002Fterms\u002Fu\u002Furi.md","URI","Uniform Resource Identifier",{"type":8,"value":9,"toc":155},"minimark",[10,15,19,23,26,30,144,148,151],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A URI is the general term for any identifier of a resource. URLs are URIs that tell you WHERE and HOW to get something. URNs are URIs that just name something. So URI is the parent concept, URL and URN are specific types. Think: every URL is a URI, but not vice versa.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A URI is a string of characters that uniquely identifies a resource. The two main types are URLs (which include location\u002Faccess method) and URNs (which name a resource without implying how to access it). In REST APIs, URIs identify resources like \u002Fusers\u002F123.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Examples of URIs\nhttps:\u002F\u002Fexample.com\u002Fapi\u002Fusers    \u002F\u002F URL (location + protocol)\nurn:isbn:978-3-16-148410-0       \u002F\u002F URN (name, no location)\nmailto:user@example.com          \u002F\u002F URI (email resource)\n\u002Fapi\u002Fv1\u002Fproducts\u002F42              \u002F\u002F Relative URI path\n","bash","",[38,39,40,59,84,107,127],"code",{"__ignoreMap":36},[41,42,45,49,53,56],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sBMFI","\u002F\u002F",[41,50,52],{"class":51},"sfazB"," Examples",[41,54,55],{"class":51}," of",[41,57,58],{"class":51}," URIs\n",[41,60,62,65,68,71,75,78,81],{"class":43,"line":61},2,[41,63,64],{"class":47},"https:\u002F\u002Fexample.com\u002Fapi\u002Fusers",[41,66,67],{"class":51},"    \u002F\u002F",[41,69,70],{"class":51}," URL",[41,72,74],{"class":73},"sTEyZ"," (location ",[41,76,77],{"class":51},"+",[41,79,80],{"class":51}," protocol",[41,82,83],{"class":73},")\n",[41,85,87,90,93,96,99,102,105],{"class":43,"line":86},3,[41,88,89],{"class":47},"urn:isbn:978-3-16-148410-0",[41,91,92],{"class":51},"       \u002F\u002F",[41,94,95],{"class":51}," URN",[41,97,98],{"class":73}," (name, ",[41,100,101],{"class":51},"no",[41,103,104],{"class":51}," location",[41,106,83],{"class":73},[41,108,110,113,116,119,122,125],{"class":43,"line":109},4,[41,111,112],{"class":47},"mailto:user@example.com",[41,114,115],{"class":51},"          \u002F\u002F",[41,117,118],{"class":51}," URI",[41,120,121],{"class":73}," (email ",[41,123,124],{"class":51},"resource",[41,126,83],{"class":73},[41,128,130,133,136,139,141],{"class":43,"line":129},5,[41,131,132],{"class":47},"\u002Fapi\u002Fv1\u002Fproducts\u002F42",[41,134,135],{"class":51},"              \u002F\u002F",[41,137,138],{"class":51}," Relative",[41,140,118],{"class":51},[41,142,143],{"class":51}," path\n",[11,145,147],{"id":146},"when-youll-hear-this","When You'll Hear This",[16,149,150],{},"\"REST APIs use URIs to represent resources.\" \u002F \"A URI can be a URL or a URN depending on whether it specifies location.\"",[152,153,154],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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":36,"searchDepth":61,"depth":61,"links":156},[157,158,159,160],{"id":13,"depth":61,"text":14},{"id":21,"depth":61,"text":22},{"id":28,"depth":61,"text":29},{"id":146,"depth":61,"text":147},"networking","A URI is the general term for any identifier of a resource. URLs are URIs that tell you WHERE and HOW to get something.","intermediate","md","u",{},true,"\u002Fterms\u002Fu\u002Furi",[170,171,172,173],"URL","URN","REST","Path Parameter",{"title":5,"description":162},{"changefreq":176,"priority":177},"weekly",0.7,"terms\u002Fu\u002Furi",null,"LT2K8W3invzv0YfTim6TknBIZrBqnjO_yp62_EWWjrk",[182,186,191,195],{"title":173,"path":183,"acronym":179,"category":161,"difficulty":184,"description":185},"\u002Fterms\u002Fp\u002Fpath-parameter","beginner","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":172,"path":187,"acronym":188,"category":189,"difficulty":184,"description":190},"\u002Fterms\u002Fr\u002Frest","Representational State Transfer","backend","REST is a set of rules for how APIs should behave. Think of it as the etiquette guide for servers and clients talking to each other.",{"title":170,"path":192,"acronym":193,"category":161,"difficulty":184,"description":194},"\u002Fterms\u002Fu\u002Furl","Uniform Resource Locator","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...",{"title":171,"path":196,"acronym":197,"category":161,"difficulty":198,"description":199},"\u002Fterms\u002Fu\u002Furn","Uniform Resource Name","advanced","A URN names something uniquely without saying where to find it.",1776518320868]