public function post($path, $cb)
    {
        $input = $this->request;

        if (!$input->has('_method')) {
            return $this->routeLoader('POST', $path, $cb);
        }

        $method = strtoupper($input->get('_method'));

        if (in_array($method, ['DELETE', 'PUT'])) {
            $this->special_method = $method;
        }

        return $this->pushHttpVerbe($method, $path, $cb);
    }
public function post($path, $cb)
    {
        $input = $this->request;

        if (!$input->has('_method')) {
            return $this->routeLoader('POST', $path, $cb);
        }

        $method = strtoupper($input->get('_method'));

        if (in_array($method, ['DELETE', 'PUT'])) {
            $this->special_method = $method;
        }

        return $this->pushHttpVerbe($method, $path, $cb);
    }
public function post ( $ path , $ cb ) { $ input = $ this -> request ; if ( ! $ input -> has ( '_method' ) ) { return $ this -> routeLoader ( 'POST' , $ path , $ cb ) ; } $ method = strtoupper ( $ input -> get ( '_method' ) ) ; if ( in_array ( $ method , [ 'DELETE' , 'PUT' ] ) ) { $ this -> special_method = $ method ; } return $ this -> pushHttpVerbe ( $ method , $ path , $ cb ) ; }
Add a POST route

@param string $path
@param callable|string|array $cb
@return Route
Add a POST route