Object reference

Request

The Request object, its operations, examples and notes.

Object description

Represents the incoming HTTP request in ZPE web execution. The web runtime creates it and exposes it through the REQUEST value; it is not normally constructed directly by a YASS program.

Request functions provide access to the request body, headers, URL path, cookies, query-string values, form data, sessions, server data, and uploaded files. All functions require permission level 0.

Availability: The Request object is documented as part of ZPE 1.14.4. Its body, content-type, method, path, cookie, form, and uploaded-file accessors were expanded in ZPE 1.14.11.

Object functions