code: function sendRequest()
    {
      // snow-28673 For s3/blob requests, did not append requestId
      var url = (options.appendRequestId === false) ?
        options.url :
        Util.url.appendParam(options.url, 'httpRequestId', httpRequestId);
  
      Logger.getInstance().trace(url);
  
      // build the basic request options
      var requestOptions =
      {
        method             : options.method,
        url                : url,
        headers            : headers,
        gzip               : options.gzip,
        json               : json,
        body               : body,
        timeout            : options.timeout ||
                             this._connectionConfig.getTimeout(),
        requestOCSP        : true,
        rejectUnauthorized : true
      };
  
      // add the agent and proxy options
      var agentAndProxyOptions = this.getAgentAndProxyOptions(
          url, this._connectionConfig.getProxy());
      requestOptions = Util.apply(requestOptions, agentAndProxyOptions);
  
      // issue the request
      request = this.getRequestModule()(
          requestOptions, function(err, response, body)
          {
            // if a callback has been specified, normalize the
            // response before passing it to the callback
            if (Util.isFunction(options.callback))
            {
              options.callback(err, normalizeResponse(response), body);
            }
          });
    }
docs: create a function to send the request