|
@@ -6,13 +6,13 @@ Content-Length: 269
|
6
|
6
|
|
7
|
7
|
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"id":1,"username":"user1","password":"testtest2"},"geometry":{"type":"Point","coordinates":[30,20]}},{"type":"Feature","properties":{"id":2,"username":"user2","password":"pass2"},"geometry":null}]}
|
8
|
8
|
===
|
9
|
|
-GET /geojson/users?geometry=location
|
|
9
|
+GET /geojson/users?geometry=location&include=username
|
10
|
10
|
===
|
11
|
11
|
200
|
12
|
12
|
Content-Type: application/json
|
13
|
|
-Content-Length: 269
|
|
13
|
+Content-Length: 213
|
14
|
14
|
|
15
|
|
-{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"id":1,"username":"user1","password":"testtest2"},"geometry":{"type":"Point","coordinates":[30,20]}},{"type":"Feature","properties":{"id":2,"username":"user2","password":"pass2"},"geometry":null}]}
|
|
15
|
+{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"username":"user1"},"geometry":{"type":"Point","coordinates":[30,20]}},{"type":"Feature","properties":{"username":"user2"},"geometry":null}]}
|
16
|
16
|
===
|
17
|
17
|
GET /geojson/users?geometry=notlocation
|
18
|
18
|
===
|