You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does modify_url() need a version argument? The use of modify_url() is considered best practice per the API Best Practices vignette. However, it does not seem to be able to handle a version in its url argument.
If I am missing something, perhaps this issue could be used for better modify_url documentation. Thanks!
# The intent: This strips the versioningurl=httr::modify_url("https://api.smartsheet.com/2.0/", path= paste0("sheets"))
url#> [1] "https://api.smartsheet.com/sheets"# The workaroundurl=httr::modify_url("https://api.smartsheet.com/", path= paste0('2.0/',"sheets"))
url#> [1] "https://api.smartsheet.com/2.0/sheets"
httr has been superseded in favour of httr2, so is no longer under active development. If this problem is still important to your in httr2, I'd suggest filing an issue offer there 😄
Does
modify_url()
need aversion
argument? The use of modify_url() is considered best practice per the API Best Practices vignette. However, it does not seem to be able to handle a version in itsurl
argument.If I am missing something, perhaps this issue could be used for better
modify_url
documentation. Thanks!Created on 2023-08-09 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: