URI encode path before making request