In the laravel docs it has:
return response($content);
What format is $content?
I want to return it via a var like so:
$res = [null, 204];
return response($res);
But the above fails, just returns a 200.
How can I set a response using a var?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2F3BrzB
via IFTTT
Aucun commentaire:
Enregistrer un commentaire