Laravel - Get BLOB in response Json or other

2

I'm getting information specific to a id , the detail is what comes with columns blob

My answer when trying

My controller:

if(ctype_digit($id) == false)
   return redirect('/')->with('error', 'Id invalido');
$content = Contenido::find($id);
return $content;

What do you recommend for these cases?

    
asked by DoubleM 12.12.2018 в 00:31
source

0 answers