18

I can't find any explanation as to what exactly the "scheme-specific part" of a URI is.

Monstieur
  • 7,992
  • 10
  • 51
  • 77

3 Answers3

21

From wikipedia :

All URIs and absolute URI references are formed with a scheme name, followed by a colon character (":"), and the remainder of the URI called (in the outdated RFCs 1738 and 2396, but not the current STD 66/RFC 3986) the scheme-specific part.

The scheme-specific-part is what you have after the :.

Example :

    http://stackoverflow.com/questions/24077453/
scheme  :   scheme-specific-part
Heath Borders
  • 30,998
  • 16
  • 147
  • 256
Denys Séguret
  • 372,613
  • 87
  • 782
  • 758
1

Each URI begins with a scheme name that refers to a specification for assigning identifiers within that scheme. As such, the URI syntax is a federated and extensible naming system wherein each scheme's specification may further restrict the syntax and semantics of identifiers using that scheme.

See this section of the URI rfc https://www.rfc-editor.org/rfc/rfc3986#section-3.1

Community
  • 1
  • 1
planetguru
  • 425
  • 3
  • 14
1

Scheme specific means just to simple define which Protocol is used by the Url like HTTP or HTTPS . So simply add these in URL to work fine Scheme Specific http://localhost:8080/api/notes

Without Scheme localhost:8080/api/notes

Shubham
  • 707
  • 9
  • 7