|
|
|
Ask HN: any service that can send requests to a URL from a specified city?
|
|
1 points
by no4clipper
5274 days ago
|
|
Basically I'm trying to test a feature of my website, which displays the location(city-level) you're at when visiting my site. And the testing approach I'm planning is: using a host in an arbitrary city to send requests to my site, with the city name appended to the URL, and then compare the known city name with the city name calculated by my site. This approach needs a service that, given an arbitrary city name and a URL, it asks a host in that city to send requests to that URL. Does such service/tool/library actually exist? Or is there a better testing approach for that feature? |
|
Tutorial: http://railscasts.com/episodes/273-geocoder?view=asciicast
Geocoder Gem: http://www.rubygeocoder.com/
Good luck.