Answers for "illuminate\http\exceptions\httpresponseexception::__construct() must be an instance of symfony\component\httpfoundation\response, string given"

PHP
1

must be an instance of Illuminate\\Http\\Request

$objetoRequest = new \Illuminate\Http\Request();
 $objetoRequest->setMethod('POST');
 $objetoRequest->request->add([
 	'parametro' => 'valor',
    'parametro2' => 'valor2'
 ]);
Posted by: Guest on October-07-2020

Code answers related to "illuminate\http\exceptions\httpresponseexception::__construct() must be an instance of symfony\component\httpfoundation\response, string given"

Browse Popular Code Answers by Language