withHeaders([ 'Authorization' => 'Bearer '. $this->token, ])->json('get','http://localhost/api/modules/listApp'); $res->dump(); } }