getMethod() public method
Returns the method of the current request (e.g. GET, POST, HEAD, PUT, PATCH, DELETE).
public string getMethod ( )return string
Request method, such as GET, POST, HEAD, PUT, PATCH, DELETE. The value returned is turned into upper case.