-1 artificial-intelligence machine-learning ibm-watson
我正在使用curl命令:
curl -X POST --user"apikey:xxx"\ --header"Content-Type:application/json"\ --header"Accept:application/json"\ --data-binary @ profile.json \" https: //gateway-fra.watsonplatform.net/personality-insights/api "
IBM正在给我回复:
x {"code":404,"sub_code":"S00004","error":"Not Found"}%
谁有想法为什么?
这是我的.json文件
https://watson-developer-cloud.github.io/doc-tutorial-downloads/personality-insights/profile.json
小智 5
尝试使用以下curl命令:
xxxxxxxx
替换apikey为您的apikey.请避免xxxxxxxx将来在公共场合使用真实版本.任何人都可以使用你的钥匙 我编辑了这个问题来隐藏它.有关详细信息,请参阅Personality Insights的API参考.