Watson Knowledge Studio integration with Watson Di

2019-08-19 01:23发布

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条回答
别忘想泡老子
2楼-- · 2019-08-19 02:13

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

查看更多
登录 后发表回答