【发布时间】:2016-07-29 13:32:34
【问题描述】:
我在 IBM Bluemix 中创建了 jKool 服务,我在 jKool 云中创建了一个帐户。我的用户名是 jKool 云中的 parimargu。
当我尝试使用 REST API 将我的数据流式传输到 jKool 云中时,我的令牌失败了。
REST Endpoint,我使用的是:http://data.jkoolcloud.com:6580/JESL/event
我已经创建了活动并发出了发布请求:
String jKoolToken = "<my jkool cloud token>";
// Stream the event (token is the token that was assigned to you
// when you purchased jKool.
response = target.path("event").request()
.header("token", jKoolToken)
.post(Entity.entity(serialize(event), "application/json"));
response.close();
我得到的错误是:
javax.ws.rs.ProcessingException:无法调用请求
我被困在这里,有人可以指导我吗?非常感谢您的帮助。
【问题讨论】:
标签: ibm-cloud jkoolcloud