add trailing slash to base URL
refactor es-find-params to simplify