Both of these mean different things, however are used alike. URI is sometimes confused with URL when in lowercase.
url -> uri
How are these 2 different?
- A URI is an identifier of a specific resource generally. 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
s. - If the protocol (
https
,ftp
, etc.) is either present or implied for a domain, we should call it a URL—even though it’s also a URI. - URL is more specific way of addressing an URI. It provides an access method/location.
Happy Learning 🍕