I am a beginner in laravel i am shifting from codeigniter to laravel so i dont have the concepts of routes.Can any one tell me what is the difference between a post and get route in laravel 5.
Basic GET Route
Route::get('/', function()
{
return 'Hello World';
});
Basic POST Route
Route::post('foo/bar', function()
{
return 'Hello World';
});
Is their any disadvantage or benefit or if i use both of them at same time And when should i use both of them what happen if i pass parameter to them when i am using them at the same time.
Route::match(['get', 'post'], '/', function()
{
return 'Hello World';
});