如何从Xively提取数据不进行认证? [英] How to pull data from Xively without authentication?

查看:144
本文介绍了如何从Xively提取数据不进行认证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试着拉从xively.com数据,以我的Andr​​oid手机。我的问题是,我需要能够看到数据之前对自己进行身份验证。然而,此处根据文档,如果数据是公共的,则每个人都应该有访问它。我试着去看看这个虚拟设备的结果: https://api.xively.com/v2/供稿/ 1549265960 的,但我不能没有登录!

Im trying to pull data from xively.com to my android phone. The problem that i have is that i need to authenticate myself before being able to see the data. However, according the documentation here, if the data is public, then everyone should have the access to it. Im trying to see the results of this dummy device: https://api.xively.com/v2/feeds/1549265960, but i cant without login!

感谢所有帮助我能!

推荐答案

我发现了一些测试后,使用该键的正确方法如下:

I found out after some testing, that the proper way of using the key is as the following:

https://api.xively.com/v2/feeds/FEED_ID?key=API_KEY

它很古怪认为它不是在xively文档中的任意位置写入。所有他们说的是,你可以用你的密钥来访问数据。
此链接这里帮我一些测试后看着办吧间接的影响。

its really weird that it isnt written anywhere in the xively documentation. All they say is that you can use your key to access data. This link here helped me figure it out indirectly after some tests.

这篇关于如何从Xively提取数据不进行认证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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