)Laravel 내가 Laravel 5.2 문제가 문제
을 목구멍과이
$client = new Client();
$result = $client->post('https://marketing.webbera.co.uk/form/2', [
'form_params' => [
'mauticform_label_welcomeemailwebbera_email' => '[email protected]',
'mauticform_label_welcomeemailwebbera_ime' =>'Secret'
]
]);
$result = $client->send($result);
를 URL로 POST를 보내는 내 코드입니다 6.3
폭식 그리고 이것은 내가
이 오류가Argument 1 passed to GuzzleHttp\Client::send() must implement interface Psr\Http\Message\RequestInterface, instance of GuzzleHttp\Psr7\Response given, called in /app/Http/Controllers/Registration.php on line 63 and defined
이것은 라인 63 $result = $client->send($result);
무엇이 잘못 될 수 있는지 실마리가 없으므로 어떤 힌트라도 환영합니다;)
게시 한 샷에서 일을 할 것입니다> 전송 ($ 결과) ;를 위해? 이미 POST를하고 있습니다. –