http request in windows service
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 co开发者_开发问答de
Simply use the WebRequest or WebClient classes.
In native code you can use the WinINet library to make HTTP requests. The HttpSendRequest() method in particular.
精彩评论