Fortinet white logo
Fortinet white logo

Script Reference Guide

HTTP:method_get()

HTTP:method_get()

Returns the string of the HTTP request method.

Syntax

HTTP:method_get();

Arguments

N/A

Events

Applicable in the following events:

  • PERSISTENCE

  • AUTH_RESULT

  • BEFORE_AUTH

  • HTTP_REQUEST

  • WAF_REQUEST_ATTACK_DETECTED

  • WAF_REQUEST_BEFORE_SCAN

Example

when HTTP_REQUEST {
method = HTTP:method_get();
}

Supported Version

FortiADC version 4.3.x and later.

HTTP:method_get()

HTTP:method_get()

Returns the string of the HTTP request method.

Syntax

HTTP:method_get();

Arguments

N/A

Events

Applicable in the following events:

  • PERSISTENCE

  • AUTH_RESULT

  • BEFORE_AUTH

  • HTTP_REQUEST

  • WAF_REQUEST_ATTACK_DETECTED

  • WAF_REQUEST_BEFORE_SCAN

Example

when HTTP_REQUEST {
method = HTTP:method_get();
}

Supported Version

FortiADC version 4.3.x and later.