phenoscape / rphenoscape

R package to make phenotypic traits from the Phenoscape Knowledgebase available from within R.
https://rphenoscape.phenoscape.org/
Other
5 stars 5 forks source link

Introduces parameter to allow forcing a GET request #146

Closed hlapp closed 4 years ago

hlapp commented 4 years ago

See #145 for context. In short, even some single URIs (in particular, apparently, for phenotype objects) are longer than the 2KB threshold for triggering the switch to HTTP POST, yet many API methods only accept GET, not POST. This both increases the threshold by 50% for JSON data requests, and introduces a parameter that if set to TRUE will force the use of GET regardless of query length.

Fixes #145.