全新的,并花了很多时间搜索这些信息。得到它在Kinetise工作,但那些人想要100美元。不!
我正在将Bluemix与cloudant nosql数据库一起使用,并成功使用weatherstation传感器数据填充该数据库。
这是我的HTTP POST DATA和SAMPLE RETURN值;
API网址, https://6bf8b7fb-a253-4433-a8e3-20da37e95dee-bluemix.cloudant.com/dpjg-sensorlog3/_find
使用Postman创建的以下代码可以完美地使用Postman !!!
POST /dpjg-sensorlog3/_find HTTP/1.1
Host: 6bf8b7fb-a253-4433-a8e3-20da37e95dee-bluemix.cloudant.com
Authorization: Basic dHRlcnNlZW5ncnRpbmV2ZW5zd2Vyc3R1OmJmNGMzZmRkOTFjMzVjNDYyN2JmNDBiN2ViYTFkNjBhMzkyjhhZDc=
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 666e0601-41de-de9a-e8e4-346cc353eb71
{
"selector": {
"tme": {
"$gt": 0
}
},
"fields": [
"tme",
"oat",
"sot",
"oah",
"rnt",
"lux",
"bxt",
"spv",
"btv",
"hea"
],
"sort": [
{
"tme": "desc"
}],
"limit":1
}
示例回复, {"文档":[ {" tme":" 2016-04-29T19:36:18- 04:00"," oat":" 77.2", " SOT":" 78.0"" OAH":66.1," RNT":0,"勒克斯&#34 ;: 73," BXT":0," SPV":" 4.3" " BTV":" 3.6"" HEA":33024} ]}`
我无法弄清楚如何在app inventor 2块中设置它。
我不知道如何在“设计”页面上使用属性网址,也不知道在.posttext文本输入中填充的内容。