Closed deepakunni3 closed 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
https://api.monarchinitiative.org/api/bioentity/gene/NCBIGene:3630/homologs/?homology_type=O&fetch_objects=false
but https://api.monarchinitiative.org/api/bioentity/gene/NCBIGene:3630/homologs?homology_type=O&fetch_objects=false - returns the proper results.
https://api.monarchinitiative.org/api/bioentity/gene/NCBIGene:3630/homologs?homology_type=O&fetch_objects=false
The behavior needs to be consistent.
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 404but
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.