kahmali / meteor-restivus

REST APIs for the Best of Us! - A Meteor 0.9+ package for building REST APIs https://atmospherejs.com/nimble/restivus
MIT License
544 stars 116 forks source link

How do I throw 404 if someone is trying to browse an invalid api endpoint #265

Open nkurothe opened 7 years ago

nkurothe commented 7 years ago

Is there any config that can be applied, if an api endpoint doesn't exists or is invalid url restivus can throw a 404.

chriscarpenter12 commented 7 years ago

@nkurothe I would like to know this as well. Were you able to find any way to do this?

jsbcst commented 6 years ago

Hi Nipun & Chris, same concern here, got any solution?

(ugly & potentially insecure to get useless HTML back instead of a 404)

alexpyslar commented 4 years ago

The same question here, any updates?