首页 > 解决方案 > 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": "服务器响应不成功" }

标签: speech-to-text

解决方案


推荐阅读