The request object is a global object available in Edge Encryption rule action and condition scripts.

The request object is a JavaScript object that represents the client request coming in to the Edge Encryption proxy server. You must build your encryption rule to parse the request object, map request object values to fields in a table on the instance, and encrypt any sensitive data in the request object.

The request object includes the following attributes and data from the client request:

Table 1. Request object fields
Field Description
path The path portion of the URL.
requestMethod GET, POST, PUT, PATCH, DELETE.
contentType The Content-Type header field.
urlParams The parameters in the query string. This can also be evaluated to a String.
postParams If this is a form post, this contains the post parameters.