header('Secret'); if (!empty($header)) { if($header == "fe1ca9859cefff19959d57aadc17187e"){ return $next($request); }else{ return $this->apiResponse(false, 'Un-Authenticated Request'); } } else { return $this->apiResponse(false, 'Un Authenticated Request'); } } }