【发布时间】:2017-12-08 04:51:44
【问题描述】:
IBM Watson 在其指南中提出了一些示例。但我连最基本的要求都做不到。
curl -u "xxx@gmail.com":"password" "https://gateway.watsonplatform.net/language-translator/api/v2"
我不明白为什么请求不能被授权。
错误在这里:
{ "code" : 401 , "error" : "Not Authorized" , "description" : "2017-11-24T17:52:58-05:00, 访问 https://gateway.watsonplatform.net/language-translator/api/v2 时发生错误 ERCDPLTFRM-INVLDCHR, Tran -Id:网关-dp01-1410026512-“}
【问题讨论】:
标签: http curl ibm-watson