Set request url correctly