Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Compare app converts multiple parameters of the same type to arrays #11

Open
orangejulius opened this issue Dec 5, 2016 · 0 comments
Open

Comments

@orangejulius
Copy link
Contributor

orangejulius commented Dec 5, 2016

Complicating our analysis of pelias/api#744, the compare tool actually changes the requests it sends along to Pelias.

For example, a query (http://pelias.github.io/compare/#/v1/reverse%3Flayers=region&point.lat=47.417&point.lon=10.75&size=3&sources=geonames&sources=gn) that contains two sources entries actually ends up being sent to pelias with square brackets (in this case, as http://pelias.prodbuild.mapzen.com/v1/reverse?layers=region&point.lat=47.417&point.lon=10.75&size=3&sources=["geonames","gn"] )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant