Fixed a bug with missing trailing dashes causing 404s when requesting valid API endpoints