开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜