code: private function _parseURL($url, $queryParams)
      {
          // parse the url
          $urlPath = trim($url, '/');
          $urlQuery = http_build_query($queryParams);
   
          $urlToSign = $this->config->getBasePath() . '/' . $urlPath . "?" . $urlQuery;
          
          return $urlToSign;
      }
docs: /*
  Executes url parsing