lib/helper.js
function dryRun(config, path) {
  path = url.parse(path, true);

  return {
    url: url.format({
      protocol: config.protocol,
      hostname: config.hostname,
      port: (config.port !== 80 && config.port !== 443 ?
        config.port : undefined),
      pathname: path.pathname,
      query: path.query
    })
  };
}
function dryRun(config, path) {
  path = url.parse(path, true);

  return {
    url: url.format({
      protocol: config.protocol,
      hostname: config.hostname,
      port: (config.port !== 80 && config.port !== 443 ?
        config.port : undefined),
      pathname: path.pathname,
      query: path.query
    })
  };
}
function dryRun ( config , path ) { path = url . parse ( path , true ) ; return { url : url . format ( { protocol : config . protocol , hostname : config . hostname , port : ( config . port !== 80 && config . port !== 443 ? config . port : undefined ) , pathname : path . pathname , query : path . query } ) } ; }
Build the RESTful API url call only
Build the RESTful API url call only