encode request  url