Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mango22's avatar

Laraven And Dingo API, Some routes throws 404 not found on web hosting

I'm creating a backend service for my mobile app and currently facing an issue on webhosting when some routes e.g $api->post('/car/{id}/rate', 'App\Http\Controllers\APIController@postCarRatings'); usually post ones with params, returns message: 404 not found while on localhost all the routes works perfectly. I've tried to set the API_PREFIX and API_DOMAIN, nothing helped me. Did anyone else face this issue before ? I'm using laravel 5.4

0 likes
0 replies

Please or to participate in this conversation.