modify request url code