Monday, 17 April 2017

Remove routes from loopback

I'm starting to use loopback to create my API and i'm facing a question: is there a way to remove routes from loopback ?

Let say I have an Admin model and i want to add a custom route (like admin/login) on which i send my username and password and it returns me "ok" if that's good. But i don't want to have all of theses routes like count, change-stream, etc...

How can I remove them ? I've been searching on Google but there's no answers that corresponds to my issue..

Thanks in advance for your response !



via Devz

No comments:

Post a Comment