Controller code: public function xyz(){echo 'hello';}
Route::group(['prefix' => 'api'], function(){Route::post('apiregstration','APIcontroller@xyz');});
I use laravel 5.1 and want to create API with post method but it not work , GET method work fine
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire