curl_setopt_array():不能将输出类型的流表示为STDIO FILE *

时间:2019-01-28 10:01:35

标签: laravel xampp guzzle

错误:

“ message”:“ curl_setopt_array():不能将Output类型的流表示为STDIO FILE *”,     “状态码”:500

系统信息: Windows 10 Xampp 3.2 PHP V 7.2

$response = $http->request('POST','http://localhost:8000/oauth/token',  [
'debug' => true,    
    'form_params' => [
        'grant_type' => 'password',
        'client_id' => 3,
        'client_secret' => 'dddddd',
        'username' => 'ddddd@ssss.com',
        'password' => '123456',
        'scope' => '*',
    ],
]);

0 个答案:

没有答案