闲聊技能按教程3.0配置的,报282008错
vtchg 发布于2022-10 浏览:171 回复:0
0
收藏
最后编辑于2022-10

抄的教程一模一样的代码:

$token = $res['access_token'];
$url = '***/chat?access_token=' . $token;
$bodys = '{"version":"3.0","service_id":"S72820","skill_ids":"1247632","session_id":"","log_id":"133630798","request":{"terminal_id":"88888","query":"你好"}}';

返回结果是:

{"result":{"ref_id":"lt5hb_20221013190557_0295376148"},"error_code":282008,"error_msg":"The request content type is illegal."}

显示requset非法,教程里也没其它解释。

收藏
点赞
0
个赞
TOP
切换版块