我想测试 Microsoft Project Oxford 语音识别 API,但我不知道在哪里或如何获取 client_id。
我正在尝试测试搜索 API。首先,我尝试获取 token 来使用该服务:
curl -d -i "https://oxford-speech.cloudapp.net/token/issueToken?grant_type=client_credentials&client_id=123&client_secret=456scope=https%3A%2F%2Fspeech.platform.bing.com"
{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure you are subscribed to an API you are trying to call and provide the right key." }
我有主键和辅助键,但找不到 client_id。有人可以帮忙吗?
最佳答案
看这里
//注意:注册http://www.projectoxford.ai获取订阅 key 。从 Azure 市场搜索语音 API。
//使用订阅 key 作为下面的客户端 key 。
Authentication auth = new Authentication("想出一个简短的 ClientId", "客户端 key ");
更多说明请点击 http://www.projectoxford.ai/doc/general/subscription-key-mgmt
关于azure - 牛津语音项目 API 的客户端 ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30085058/