monarch-initiative / biolink-api

API for linked biological knowledge
https://api.monarchinitiative.org/api/
BSD 3-Clause "New" or "Revised" License
63 stars 25 forks source link

Routes with a trailing slash yields a 404 #229

Closed deepakunni3 closed 5 years ago

deepakunni3 commented 5 years ago

Routes with a trailing slash yields a 404, when in reality should behave just as same as routes without a trailing slash.

Ex: https://api.monarchinitiative.org/api/bioentity/gene/NCBIGene:3630/homologs/?homology_type=O&fetch_objects=false - gives a 404

but https://api.monarchinitiative.org/api/bioentity/gene/NCBIGene:3630/homologs?homology_type=O&fetch_objects=false - returns the proper results.

The behavior needs to be consistent.