def request(method, path, options, raw=false, faraday_options={})
      response = connection(raw, faraday_options).send(method) do |request|
        if FullContact.options[:auth_type] == :query
          options[:apiKey] = FullContact.options[:api_key]
        end
        request.url(formatted_path(path), options)
        request.headers[FullContact::Configuration::AUTH_HEADER_NAME] = FullContact.options[:api_key]
      end

      raw ? response : response.body
    end
def request(method, path, options, raw=false, faraday_options={})
      response = connection(raw, faraday_options).send(method) do |request|
        if FullContact.options[:auth_type] == :query
          options[:apiKey] = FullContact.options[:api_key]
        end
        request.url(formatted_path(path), options)
        request.headers[FullContact::Configuration::AUTH_HEADER_NAME] = FullContact.options[:api_key]
      end

      raw ? response : response.body
    end
Perform an HTTP request