You could create a controller called ApiController and route to it with Route::resource("/api&q...
This answer is going to seem really silly but have you double checked spelling? For me, that's usual...
The Laravel portal for problem solving, knowledge sharing and community building.