Closed tanakahisateru closed 12 years ago
I want to check which HTTP method used via $this->request->method.
$this->request->method
Considering real usage:
if($this->request->method == 'POST')
is not so far from:
if($this->request->server->get('HTTP_METHOD') == 'POST')
Then, I'm adding isGet, isPost or such as.
isGet
isPost
I want to check which HTTP method used via
$this->request->method
.