Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if the request is ajax request in laravel

if($request->ajax()){
  return "ajax request";
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #request #ajax #request #laravel
ADD COMMENT
Topic
Name
2+8 =