DataScript: avi.http.method

Function avi.http.method()
Description Returns the client’s request method, such as ‘GET’ or ‘POST’.
Events HTTP_REQ
HTTP_RESP
Parameter None
Returns String of the method
Example
method = avi.http.method()
if method ~= "GET" or method ~= "POST" then
   avi.http.response("403")
end

Updated: 2018-01-19 07:11:49 +0000