Watson Knowledge Studio integration with Watson Discovery

﹥>﹥吖頭↗ 提交于 2019-12-12 06:47:06

问题


I was able to get the my_config.json file by doing the provided curl statement and update/save it, but when I PUT it given the requested curl I am receiving a 415 error, unsupported media type. According to the documentation, it's supposed to accept the .json. This is what I'm using: curl -X PUT -u "discovered":"discoverypw" -H “Content-Type: application/json” -d@my_config.json


回答1:


I supposed you are trying to update a configuration. I tried the operation as described at the following page and could not reproduce your problem. I could update my configuration. https://www.ibm.com/watson/developercloud/discovery/api/v1/#replace_configuration



来源:https://stackoverflow.com/questions/44980996/watson-knowledge-studio-integration-with-watson-discovery

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!