api - why does golang give different nominatim results -


i calling api url golang:

http://nominatim.openstreetmap.org/search?format=json&addressdetails=0&q=1322%20kenwood%20ave.%20springfield%20oh%2045505%20us

when click url single valid response open street maps.

when call golang, 10 results back, invalid.

my code looks like:

var myresponse []openstreetmapresponse request, err := http.newrequest("get", serviceurl, nil) request.header.set("content-type", "application/json") client := &http.client{} response, err := client.do(request) defer response.body.close() body, _ := ioutil.readall(response.body) json.unmarshal(body, &myresponse) 

what doing wrong? makes absolutely no sense. can write api call in 4 different programming languages , correct response, golang giving different results. can provide appreciated.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -