Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
What is an example for a URI which is not a URL?
Every URL is a URI but not every URI is a URL is a saying I know from long ago, but what is an example for a URI which is not a URL (whatever the user agent would be - a web browser, a *nix utility such as curl
and so forth)?
1 answer
This article shows in a concise and graphical way the difference between URIs and URLs.
A URI is an identifier of a specific resource. Like a page, or book, or a document.
A URL is special type of identifier that also tells you how to access it, such as HTTPs, FTP, etc.—like https://www.google.com.
So, an example of a URI which is clearly not a URL is an ISBN code for a book.
1 comment thread