有人可以解释如何使用 APIC 工具包创建 API 吗?
我想使用此 API 与 IBM Bluemix 上的 Cloudant DB 或本地 CouchDB 一起使用,以创建、读取和更新 geoJSON 数据。
下面是存储兴趣点名称和坐标的典型数据的简单示例。
[{
"type": "Feature",
"properties": {
"name": "Nice Place 1"
},
"geometry": {
"type": "Point",
"coordinates": [16.45961, 48.23896]
}
}, {
"type": "Feature",
"properties": {
"name": "Nice Place 2"
},
"geometry": {
"type": "Point",
"coordinates": [16.34561, 49.89612]
}
}]