I am have same routes in laravel like thi
Route::get('connector/type', [ConnectorTypeController::class, 'getConnectorType'])->name('connectorType.all'); Route::post('connector/type', [ConnectorTypeController::class, 'storeConnectorType'])->name('connectorType.store');
And for the post method i have some FormRequest validation
post
There is no problem with the controller, but why the get method always return an empty response
2.1m questions
2.1m answers
60 comments
57.0k users