refine url request method