We still have a route for this, so hitting an unknown URL results in an exception:

Unknown action
The action &#x27;route_error&#x27; could not be found for Api::V2::HomeController

Interestingly we're missing the v1 equivalent route.

However if you then remove this route, you get HTML back instead of JSON..