質問

how can I return or print "HTTP VERB" that passed to route?

Route::any('/', function()
{
    return "HTTP VERB";
}

thanks,

役に立ちましたか?

解決

i think you're looking for the request method:

$method = Request::method();
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top