在Laravel中间件中显示请求方法(GET,POST,..)

I have a middleware class in Laravel and I wanted to get the action name like (GET, POST, DELETE, PUT,...) for logging the information. I have below code:

public function handle($request, Closure $next)
{
    $api_key = $request->headers->get('x-api-key');
    if($api_key!=$this->auth_key){
        return $this->response->unauthorize(
            "You're not authorize to access. Make sure that you're passing your api Key"
        );
    }
    return $next($request);
}

I have this line $request->route(); that may help but I don't know about the method.

use Illuminate\Routing\Route;

private $route;

public __construct(Route $route) {
  $this->route = $route;
}

public function handle($request, Closure $next)
{
    $action = $this->route->getMethods(); // return array

    $api_key = $request->headers->get('x-api-key');
    if($api_key!=$this->auth_key){
        return $this->response->unauthorize(
            "You're not authorize to access. Make sure that you're passing your api Key"
        );
    }
    return $next($request);
}