Answers for "laravel check if request wantsjson"

PHP
0

laravel check if request wantsjson

extends the Symfony\Component\HttpFoundation\Request 

Determine If The Request Is Asking For JSON
if (Request::wantsJson())
{
    //
}
Posted by: Guest on July-05-2020

Code answers related to "laravel check if request wantsjson"

Browse Popular Code Answers by Language