Gets the request method used in the current request.

Syntax

Smartsite SXML CopyCode image Copy Code
string request.method()

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
String The method name of the request. In HTTP requests, usually GET or POST.

Expand image Example

SXML