Vely logo install | documentation | examples | changelog
16.10.0 released May 10, 2023
Normalized URL

A request_URL can be written entirely as a query string. This is normalized URL. In this case, request name is omitted as a path segment and is specified as a "req" input parameter along with all other input parameters. Query string follows the application path.

For instance a URL like:
https://some.web.site/shopping/buy-item?name=ABC&price=600

can be written as:
https://some.web.site/shopping?req=buy_item&name=ABC&price=600

A request name "buy_item" (hyphens get converted to underscores) is now the value of parameter "req", which can be specified anywhere in a query string, i.e. it does not have to be the first parameter.

Note that parameter name "req" has a special meaning only in normalized URLs. You can use it just like any other input parameter otherwise.
See also
Requests ( after_request_handler   before_request_handler   building_URL   getting_URL   global_request_data   non_request   normalized_URL   request   request_URL   startup_handler   vely_dispatch_request  )  SEE ALL (documentation)


Copyright (c) 2017-2023 Dasoftver LLC