Fortinet white logo
Fortinet white logo

Script Reference Guide

HTTP:query_set(value)

HTTP:query_set(value)

Sets the HTTP request query to the string <value>.

Syntax

HTTP:query_set(value);

Arguments

Name Description

value

A string which specifies the URI.

Events

Applicable in the following events:

  • BEFORE_AUTH

  • HTTP_REQUEST

  • WAF_REQUEST_ATTACK_DETECTED

  • WAF_REQUEST_BEFORE_SCAN

Example

when HTTP_REQUEST {
HTTP:query_set(“query1=value1”);
}

Supported Version

FortiADC version 4.3.x and later.

HTTP:query_set(value)

HTTP:query_set(value)

Sets the HTTP request query to the string <value>.

Syntax

HTTP:query_set(value);

Arguments

Name Description

value

A string which specifies the URI.

Events

Applicable in the following events:

  • BEFORE_AUTH

  • HTTP_REQUEST

  • WAF_REQUEST_ATTACK_DETECTED

  • WAF_REQUEST_BEFORE_SCAN

Example

when HTTP_REQUEST {
HTTP:query_set(“query1=value1”);
}

Supported Version

FortiADC version 4.3.x and later.