Updated api to use a different url when getting download url