0๐
โ
I solved problem!
Firstly I needed to separate methods in my web.php file like this:
Route::post('/api/newsAdd', 'NewsController@store');
that was before:
Route::resource('api/news', 'NewsController');
Sedcondly there was a problem with slashes:
before: axios.post('api/newsAdd/', this.info)
after: axios.post('api/newsAdd', this.info)
Source:stackexchange.com