We are getting ready to switch all of the open tree API services over to https:. I wanted to send out a heads-up to alert anyone who has a stake in the URLs we use (working code, documentation, tutorials, etc.).
https://github.com/OpenTreeOfLife/opentree/pull/810
The plan is to use 301 redirects to automatically convert http requests to https, and document the https: URLs as the way to use the API. This is not a done deal, so now is the time to review and discuss!
Use of https: URLs is unaffected.
Use of http: URLs with GET (not POST) is unaffected (most tools will redirect automatically).
POST to http: URLs through the python 'requests' library is unaffected.
POST to http: URLs with 'curl' requires use of the -L --post301 curl flags.
POST to http: URLs through 'wget' only works with the very latest (Nov 15) version of wget.
There are two reasons for this:
1. It was the most economical way we could figure out to repair an obscure but very serious curator webapp login bug
2. It is the way the Web is going in response to escalating attacks on privacy and communication integrity (this is certainly post hoc as a justification, but it is true)
Jonathan