Extract Method formattedUrl