Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel check method is post

$method = $request->method();
 
if ($request->isMethod('post')) {
    //
}
 
PREVIOUS NEXT
Tagged: #laravel #check #method #post
ADD COMMENT
Topic
Name
9+7 =