Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

request - getEncodedQueryFor(String tableName)

Log in to subscribe to topics and get notified when content changes.

request - getEncodedQueryFor(String tableName)

Specifies that the value of the parameter is an encoded query for the specified table.

Calling this function on a parameter tells the proxy that the value of the parameter represents an encoded query for the specified table. The proxy parses the encoded query and encrypts the values for fields in the encoded query that must be encrypted.

This method is available only in an Edge Encryption rule action script.

Table 1. Parameters
Name Type Description
tableName String A table name.
Table 2. Returns
Type Description

This example is from the List Request encryption rule.

function ListRequestAction(request) {
	var path = request.path;
	var tableNameEndIndex = path.indexOf("");
	var tableName = path.substring(1, tableNameEndIndex);