use string.format to build service url