refactor requestURL