no_rest_route error on custom routes

What’s wrong with my call to register_rest_route() ? Is it the way I’m trying to access it? This is the correct way to access that endpoint: The route I’m trying to access is http://site.test/wp-json/mchs/v1/search/[email protected] But then you’re getting the 404 error because the path variable in the second parameter below, is not in the correct … Read more