I have 2 similar API routes on my business logic like this:
- Get todo detail :
- Get list of inompleted todos:
But everytime I send request to /todos/incomplete, it will go to Get Todo detail instead of Get list of incompleted todos.
Is there any ways to manage this, such as set priority on which route will be checked first?