small medium large xlarge

20 Sep 2016, 14:27
Daniel Koffler (1 post)


I am facing a problem with the Reverse Geocode API.

I am entering:

curl -H ‘Content-Type: application/json’ -H ‘Accept: application/json’ http://localhost:3000/reverse_geocode\?lat=37.33233141\&long=-122.0312186


URI::InvalidURIError (URI must be ascii only “,-122.0312186”): app/models/reverse_geocode_request.rb:14:in for' app/controllers/reverse_geocode_controller.rb:12:in reverse_geocode’

Kindly let me know what I missed Thank you Daniel

16 Sep 2016, 16:01
Tony Hillerson (38 posts)

First, I’d be careful about posting your API key to a public forum :)

Second, it looks like a unicode character got into your URL. Try fixing that by typing it out again on the command line…

You must be logged in to comment