opendatabio / opendatabio-r

R package for interacting with OpenDataBio
https://opendatabio.gitlab.io/
GNU General Public License v3.0
3 stars 2 forks source link

Remove trailing slash with api_version = NULL #5

Closed andrechalom closed 7 years ago

andrechalom commented 7 years ago
> cfg = odb_config("http://localhost/opendatabio/api", token="AAA", NULL)
> cfg
$base_url
 [1] "http://localhost/opendatabio/api/"
(...)
> taxons = odb_get_taxons(, cfg)
Error in odb_send_get(params, odb_cfg, "taxons") : Not Found (HTTP 404).
andrechalom commented 7 years ago

Handled it in the API now