I have defined endpoint in routes/api.php
Route::get('/test', [TestController::class, 'test']);
When i'm trying to access this route by Postman or by browser console everything works, but when i'm calling fetch or axios from Vue application this endpoint returns 404. I was trying to copy every header from Network tab to Postman and it's still working in Postman.