Use pkg_snprintf to create the url string