biothings / mygene.info

MyGene.info: A BioThings API for gene annotations
http://mygene.info
Other
113 stars 20 forks source link

"No API definition provided." on https://mygene.info/v3/api #43

Closed buchanae closed 5 years ago

buchanae commented 6 years ago
screen shot 2018-07-19 at 10 00 26 am
newgene commented 6 years ago

@buchanae Thanks for reporting this. The API metadata for mygene.info is hosted on http://smart-api.info, and it does not support https yet. When you access mygene.info via https, the browser blocks the "unsecure" content served from smart-api.info. The workaround right now is just to use the http://mygene.info. There is a ticket for smartapi to enable its https support: https://github.com/SmartAPI/smartAPI/issues/22.

newgene commented 6 years ago

SmartAPI/smartAPI#22 is now fixed. https://mygene.info/v3/api should work now.

However with on caveat: when under https://mygene.info/v3/api page, users need to switch to "https://mygene.info/v3" in order to make test queries. This is due to the browser restriction of not allowing mixed https and http content. We will see if possible to set the default automatically