Learn: What’s the Difference Between a URI and a URL?

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?

  1. A URI is an identifier of a specific resource generally. Like a page, or book, or a document.
  2. A URL is special type of identifier that also tells you how to access it, such as HTTPsFTPs.
  3. If the protocol (httpsftp, etc.) is either present or implied for a domain, we should call it a URL—even though it’s also a URI.
  4. URL is more specific way of addressing an URI. It provides an access method/location.

Happy Learning 🍕

Published by Jayesh

I code and energize, loves sharing my journey.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s