Generate request url from http client