jeudi 10 janvier 2019

when i use postman for run API In laravel 5.1 API post method not working

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