Utility func to build request url