There’s a web services I want to call in my application, I can use it with importing the WSDL or by just use ‘HTTP GET’ with the URL and parameters, so I prefer the later because it’s simple thing.
I know I can use indy idhttp.get, to do the job, but this is very simple thing and I don’t want to add complex indy code to my application.
UPDATE: sorry if I was not clear, I meant by ‘not to add complex indy code’, that I don’t want add indy components for just this simple task, and prefer more lighter way for that.
You could use the WinINet API like this:
source: http://www.scalabium.com/faq/dct0080.htm
The WinINet API uses the same stuff InternetExplorer is using so you also get any connection and proxy settings set by InternetExplorer for free.