code: public function getMetaData()
      {
          $data = [];
  
          $data['url'] = $this->request->fullUrl();
  
          $data['httpMethod'] = $this->request->getMethod();
  
          $data['params'] = $this->request->input();
  
          $data['clientIp'] = $this->request->getClientIp();
  
          if ($agent = $this->request->header('User-Agent')) {
              $data['userAgent'] = $agent;
          }
  
          if ($headers = $this->request->headers->all()) {
              $data['headers'] = $headers;
          }
  
          return ['request' => $data];
      }
docs: Get the request formatted as meta data.
  
  @return array