views:

1328

answers:

4

Hi,

Which component is best to use for receiving HTTP requests in Delphi application?

+5  A: 

Indy is the way to go. but you need a server component, not a client one. TIDHTTPServer should fit the bill

Roddy
Thanks and sorry for the delay, I was out for several months. I accept this answer even though I interrupted the development of this tool I needed before. I found that I actually used TIdHttpServer several years ago but I forgot about it and asked vague question :)
m_pGladiator
+2  A: 

Another option which is quite easy to use is the Synapse TCP/IP library. There are some examples available which show the usage of it as a HTTP server.

skamradt
+3  A: 

Let's not forget the ICS. Maybe not so simple to use as Indy, but very powerful. Supports http and https.

gabr
A: 

I've been playing around with HTTP components before, and I've also implemented IInternetProtocol to integrate with Internet Explorer and build ISAPI extensions to integrate with IIS. I've started http://xxm.sourceforge.net/ to open-source this, and combine it with a generic interface, a pre-parser and an auto-compile option, so I could join HTML and Delphi into the same source-files and code websites much like PHP, Cold Fusion and oldskool ASP.

Stijn Sanders