19.0.0 released Nov 08, 2023
To get the URL used to make a request, use get-sys statement with "web-environment" clause.
For a query string, get the "QUERY_STRING" environment variable. For a full URL path, combine "SCRIPT_NAME" and "PATH_INFO" variables.
To get a request body, use request-body statement.
To get the full URL path in variable "fpath", concatenate "SCRIPT_NAME" and "PATH_INFO":
get-sys web-environment "SCRIPT_NAME" to define sname
get-sys web-environment "PATH_INFO" to define pinfo
(( define fpath
@<<p-out sname>><<p-out pinfo>>
You are free to copy, redistribute and adapt this web page (even commercially), as long as you give credit and provide a dofollow link back to this page - see full license at CC-BY-4.0
. Copyright (c) 2019-2023 Dasoftver LLC. Vely and elephant logo are trademarks of Dasoftver LLC. The software and information on this web site are provided "AS IS" and without any warranties or guarantees of any kind. Icons from table-icons.io
copyright Paweł Kuna, licensed under MIT