speech-to-text - Watson Speech to Text 异步 http 接口 - curl/java 无法注册回调
问题描述
我正在尝试使用 watson STT 注册回调 url,如下所示(仅限 curl 脚本)并收到 400 错误。node.js 进程侦听端口 3000 以处理请求。我错过了什么吗?非常感谢提前。
curl -X POST -u "apikey:xxxxxxxxxxxxxx9xRhxjF2QOqssMkUhLkzl0" " https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/register_callback?callback_url=http://localhost:3000/结果&user_secret=my_secret_key "
{ "code": 400, "code_description": "Bad Request", "error": "服务器响应不成功" }
解决方案
推荐阅读
- c++ - 初学者制作没有 cins 的乐透程序,不知道如何比较所有数字
- java - Public Arraylist size shows different in 2 places in Android Java
- javascript - 如何在不显示“NaN”的情况下为多个属性复制此代码?
- amazon-web-services - S3 最终一致性:在对象存在未完成副本的情况下删除对象是否安全?
- nativescript - 当我运行更新的 NS 5.0 应用程序时,如何摆脱 Android 中的错误消息?
- javascript - 带子项的 JSON 解析器
- r - ggnetwork::geom_nodes() 需要的颜色多于节点数
- python-3.x - 使用 Selenium 时是否需要安装 Chrome 或仅安装 chromedriver?
- google-apps-script - 根据列中的新名称创建新工作表
- javascript - 无法使用 javascript 使用公共变量(i)更改每张幻灯片的字体样式