views:

21

answers:

2

How can we implement like this request:

http://nominatim.openstreetmap.org/reverse?format=xml&lat=52.5487429714954&lon=-1.81602098644987&zoom=18&addressdetails=1

in a windows service.

what we are trying to do is this:

run a request from windows service, and when we get the response back,we will save to DB?

Edit: the service is in C++ native code

A: 

Simply use the WebRequest or WebClient classes.

John Saunders
A: 

In native code you can use the WinINet library to make HTTP requests. The HttpSendRequest() method in particular.

shf301