我在Linux平台上运行此处给出的PHP代码,并按我的账号进行修改。
运行之后生成并输出了签名和curl命令行,我执行此curl命令行出现错误提示:
{"code":1019, "message":"appid is not registered"}
可是我的appid怎么可能没注册呢?我不但有appid,在此appid之下还生成了secretid和secretkey。难道错误代码的意思是该appid没有开通离线语音识别服务?
还有一个问题,请求参数中的callback_url怎么写?
我有这个脚本,我需要使用邮递员发送请求。但是我不知道如何在这个脚本中实现它,文档在这里,但我没有从它得到明确的描述,因为我是初学者
<?php
//.... replace <api_key> and <secrete_key> with the valid keys obtained from the platform, under profile>authentication information
$api_key='<api_key>';
$secret_key = '<secret_key>'