I’ve been working on REST API as modules. I can get errors and exceptions inside the rest controllers as json/xml. But when ever try to access a invalid entry point, Im getting a html respone saying not found exception.
My api url is like
localhost.backend/api/v1/invalidentrypoint
Here api is a module and v1 is another module which nested indside api module.