codeforamerica / city_developer_resources

API and Open Source project documentation site for cities that (hopefully) doesn't suck.
2 stars 5 forks source link

Responses returned with garbage at beginning and end #6

Closed stevevance closed 11 years ago

stevevance commented 11 years ago

All responses I receive are returned preceded with a two digit alphanumeric string and proceeded with "0".

36 [{"code":400,"description":"Valid location required"}] 0

I'm use a regular expression match to extract just the part within the brackets so what I have left is JSON. If I make a POST in XML, nothing is returned.

Mr0grog commented 11 years ago

This sounds like an issue with Chicago's (?) 311 API itself and not the documentation (this project is the documentation). You should probably send an e-mail to developers@cityofchicago.org .