Skip to main content

All Questions

Filter by
Sorted by
Tagged with
7 votes
1 answer
9k views

TypeError: can't convert Net::HTTPOK into String

I'm using net/http and json to geocode an address using google's Geocoding API. Here is where the error is being thrown: response = Net::HTTP.get_response(URI.parse(url)) result = JSON.parse(response)...
Chris's user avatar
  • 12.2k