use appendQueryStringToURL() method from UrlBuilder class