Updating the getUrl method to accept addition parameters as string.