Fortinet white logo
Fortinet white logo

Script Reference Guide

HTTP:query_get()

HTTP:query_get()

Returns the string of the HTTP request query.

Syntax

HTTP:query_get();

Arguments

N/A

Events

Applicable in the following events:

  • AUTH_RESULT

  • BEFORE_AUTH

  • HTTP_REQUEST

  • PERSISTENCE

  • WAF_REQUEST_ATTACK_DETECTED

  • WAF_REQUEST_BEFORE_SCAN

Example

when HTTP_REQUEST {
query = HTTP:query_get();
}

Supported Version

FortiADC version 4.3.x and later.

HTTP:query_get()

HTTP:query_get()

Returns the string of the HTTP request query.

Syntax

HTTP:query_get();

Arguments

N/A

Events

Applicable in the following events:

  • AUTH_RESULT

  • BEFORE_AUTH

  • HTTP_REQUEST

  • PERSISTENCE

  • WAF_REQUEST_ATTACK_DETECTED

  • WAF_REQUEST_BEFORE_SCAN

Example

when HTTP_REQUEST {
query = HTTP:query_get();
}

Supported Version

FortiADC version 4.3.x and later.