Generate url method for Proxy