IBM Conversation API-什么是端点URL和参数 [英] IBM Conversation API - What should be a endpoint URL and Parameters

查看:132
本文介绍了IBM Conversation API-什么是端点URL和参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用Postman工具访问IBM对话,但收到404(找不到资源)错误.

端点: https://gateway.watsonplatform.net/conversation/api/v1/workspaces/883c7704-02c4-41fc-b8a0-aea1d0325c5a/message?version=2016-09-20

我的工作区ID = 883c7704-02c4-41fc-b8a0-aea1d0325c5a

端点或参数有问题吗? 如何通过版本?

解决方案

如果您尝试向对话发送消息,则端点看起来正确:https://gateway.watsonplatform.net/conversation/api/v1/workspaces/883c7704-02c4-41fc-b8a0-aea1d0325c5a/message?version=2016-09-20

my workspace id = 883c7704-02c4-41fc-b8a0-aea1d0325c5a

Is there anything wrong in endpoint or parameter?. How to pass version?

解决方案

Your endpoint looks correct if you're trying to send a message to conversation: https://www.ibm.com/watson/developercloud/conversation/api/v1/?curl#send_message

Try changing the version to the most updated: version=2017-05-26

这篇关于IBM Conversation API-什么是端点URL和参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆