mirror of https://github.com/pelias/api.git
Julian Simioni
9 years ago
9 changed files with 33 additions and 40 deletions
@ -1,4 +1,3 @@ |
|||||||
|
|
||||||
var _sanitize = require('../sanitiser/_sanitize'), |
var _sanitize = require('../sanitiser/_sanitize'), |
||||||
sanitizers = { |
sanitizers = { |
||||||
id: require('../sanitiser/_id'), |
id: require('../sanitiser/_id'), |
@ -1,6 +1,6 @@ |
|||||||
|
|
||||||
#> valid doc query |
#> valid place query |
||||||
path: '/doc?id=geoname:4221195&id=geoname:4193595' |
path: '/place?id=geoname:4221195&id=geoname:4193595' |
||||||
|
|
||||||
#? 200 ok |
#? 200 ok |
||||||
response.statusCode.should.equal 200 |
response.statusCode.should.equal 200 |
@ -1,6 +1,6 @@ |
|||||||
|
|
||||||
#> valid doc query |
#> valid place query |
||||||
path: '/doc?id=geoname:4221195' |
path: '/place?id=geoname:4221195' |
||||||
|
|
||||||
#? 200 ok |
#? 200 ok |
||||||
response.statusCode.should.equal 200 |
response.statusCode.should.equal 200 |
Loading…
Reference in new issue