Get req

Purpose: Obtain data that describes the input request.

get-req \
        errno | error | cookie-count | cookie <cookie index> \
        | arg-count | arg-value <arg index> \
        | header <header> | referring-url | method \
        | content-type | process-id | name \
        | external-call | directory | source-file
    to <variable>

Information related to an input request can be obtained with get-req statement and the result stored into <variable> (in "to" clause). The following can be obtained (all are strings except where stated otherwise):
Examples
Get the process ID:
get-req process-id to pid

See also
Request information
get-req  
See all
documentation


Copyright (c) 2019-2025 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.