What is the correct term for a URL parameter without a request?

Say you have the following url:

http://example.com/path?param=value

"param = value" - query string "/ path" - path "http: //" - this is the protocol

What is the name for http://example.com/path "only?

thanks! -nikita p>

+3
source share
4 answers

According to the general syntax of a URI scheme on Wikipedia:

[...] Each URI is defined as consisting of four parts:

<scheme name> : <hierarchical part> [ ? <query> ] [ # <fragment> ]

So, http://domain.com/path "consists of parts <scheme name>and <hierarchical part>, there is no name for this pair as a whole.

Uniform Resource Locator Syntax - .

+4

, , Scheme, Authority, Path . Query Fragment.

+3

: URL- URL-.


:. .

URL (RFC 1808), :

  • URL:

    URL         = ( absoluteURL | relativeURL ) [ "#" fragment ]
    
  • absoluteURL:

    absoluteURL = generic-RL | ( scheme ":" *( uchar | reserved ) )
    
  • -RL:

    generic-RL  = scheme ":" relativeURL
    

URI (RFC 3986), :

  • URI:

    URI           = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
    
  • URI-:

    URI-reference = URI / relative-ref
    

  • -URI:

    absolute-URI  = scheme ":" hier-part [ "?" query ]
    

URL/URI URL/URI .

+1

, URL. '?' HTTP- GET.

URL:

0

Source: https://habr.com/ru/post/1719056/


All Articles