top of page

Uniform Resource Identifier (URI)





A Uniform Resource Identifier (URI) is a character sequence that identifies a logical (abstract) or physical resource -- usually, but not always, connected to the internet. A URI distinguishes one resource from another.


URIs enable internet protocols to facilitate interactions between and among these resources. The strings of characters incorporated in a URI serve as identifiers, such as a scheme name and a file path.

Read More: IP Address


URI basically used to extensible way to identify internet resources. There may be different type of resources Identifier that can be used for the same context, regardless of the mechanism used to access those resources.


URI used to Identify different type of resources like:

  • Electronic Documents

  • Webpages

  • Images

  • Information Sources with a consistent purpose

Every URL is an URI but every URI is not an URL. URNs are URL but not vice Versa

Read - Difference Between URN and URL


Syntax of URI

scheme://authority/path-component-1/path-component-2?query#fragment-id

A URI consists of up to five parts. However, only two of these are mandatory.

  • scheme: Gives information about the protocol being used.

  • authority: Identifies the domains.

  • path: Shows the exact path to the resource.

  • query: Represents a request action.

  • fragment: Refers to a partial aspect of a resource.




Types of URI

There are two types of Uniform Resource Identifier (URI)

  1. Universal Resource Name

  2. Uniform Resource Locator


Universal Resource Name (URN)

URN stands for Universal Resource Name. it refer the location of the content using anchor Identifier. URNs are URL but not vice Versa. There is a prefix URN for all the URNs. When you specify “access mechanism, location’’ And URI becomes URL.


Uniform Resource Locator (URL)

URL stands for Uniform Resource Locater. URI is the super set of URL. It may contain URN or Fragment URI that define the document inside the content. URL has Information about how to fetch / acquire a resources from its location. URLs always begins with a protocol (Most obvious, HTTP). It will Have the details about the host name and also have the path. A URL is used When a client is raising a request to the server for the services

Read More: URL Structure



The Tech Platform

www.thetechplatform.com

0 comments
bottom of page