Fortinet white logo
Fortinet white logo

Script Reference Guide

HTTP:method_set(value)

HTTP:method_set(value)

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

Syntax

HTTP:method_set(value);

Arguments

Name Description

str

A string which specifies the method.

Events

Applicable in HTTP_REQUEST.

Example

when HTTP_REQUEST {
HTTP:method_set(“POST”)
}

Supported Version

FortiADC version 4.3.x and later.

HTTP:method_set(value)

HTTP:method_set(value)

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

Syntax

HTTP:method_set(value);

Arguments

Name Description

str

A string which specifies the method.

Events

Applicable in HTTP_REQUEST.

Example

when HTTP_REQUEST {
HTTP:method_set(“POST”)
}

Supported Version

FortiADC version 4.3.x and later.