Returns the form request method for the specified request object.
Syntax
method( request )
request.method( )
Parameters
request
|
the request object to use.
|
Returns
string
|
the request method
GET if get request method.
POST if post request method.
|
Notes
This method is only accessible by ss and by iScript Servlet.
Example
req = Request( )
method = req.method( )
if method = "GET" then
ht = req.QueryString( )
else if method = "POST" then
ht = req.Content( )
else
println( req + " is not a valid request method" )
end
|