laravel passport 代理出错

代码

$response = $this->http->request('post', 'http://ruicao.io/api/oauth/token', [
            'form_params' => [
                'username'      => '[email protected]',
                'password'      => '123456',
                'client_id '    => '1',
                'client_secret' => 'PXrLBReX7gPjheLcfXJzF223GnI1uDHv8xw3SsZB',
                'grant_type'    => 'password',
                'scope'         => '',
            ]
        ]);

报错信息

Client error: `POST http://ruicao.io/api/oauth/token` resulted in a `400 Bad Request` response:\n
{"error":"invalid_request","message":"The request is missing a required parameter, includes an invalid parameter value,  (truncated...)\n

提示缺少参数,已经将值都写在 form_params 里了

JellyBool
修改的评论也不能少于六个字哦!
954630688 回复 JellyBool
修改的评论也不能少于六个字哦!
JellyBool 回复 954630688
修改的评论也不能少于六个字哦!
liunanmp3 回复 954630688
修改的评论也不能少于六个字哦!
954630688 回复 liunanmp3
修改的评论也不能少于六个字哦!
maokeyang 回复 liunanmp3
修改的评论也不能少于六个字哦!