Interview question laravel.
1. for table use protected $table = "mytablename" ; 2. difference between post from web and api . sol. @csrf token 3. diff web.php and api.php sol. https://koenwoortman.com/laravel-difference-between-web-and-api-routes/ 4. many to many relation 5. patch and put = multiple column update in put and update single column in patch . 6. show single variable in all view files. sol: https://stackoverflow.com/questions/32683069/how-to-make-a-variable-available-to-all-my-pages-in-laravel 7. how many table use in one to one one to many many to many