TLDR: httr::modify_url() is exported, but httr2:::url_modify() not; please export this useful function
I'm wrapping an API and upon successful POST the API unfortunately only returns a document ID and not the full URL, so to print the full URL I have to construct it by appending this document ID to the base URL. So I'm looking for a function like httr2::req_url_path() that works on a URL instead of a request. Previously, I used httr::modify_url() but the httr2 version httr2:::url_modify() is not exported, would it be possible to export this function in httr2 as well?
TLDR:
httr::modify_url()is exported, buthttr2:::url_modify()not; please export this useful functionI'm wrapping an API and upon successful POST the API unfortunately only returns a document ID and not the full URL, so to print the full URL I have to construct it by appending this document ID to the base URL. So I'm looking for a function like
httr2::req_url_path()that works on a URL instead of a request. Previously, I usedhttr::modify_url()but the httr2 versionhttr2:::url_modify()is not exported, would it be possible to export this function in httr2 as well?