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>>
))