Small refactoring, remove duplicated request url