I am new to geonames, so this question might be too simple, plesae just bear with me.
I need to use a GIS library to find post codes from lat/lang. But, I need to call the library from my Server side c# code (i.e. .NET). On top of that I am pressed for time.
Can anyone give me some pointers on how to go about calling the geonames postcode webservice from c#?
We are using a simple REST type API. This means there are no WSDL files for these kind of web services. It is much simpler and you can even look at what you get in your browser.
n .NET, there is a variety of classes you can use: WebClient, WebRequest, or HttpWebRequest. To send a GET request (suitable for REST), you would use something similar to the following: