-5

I want to send HTTP POST command to a server with socket connection.

How can I do it with indy?

By the way, what is HTTP? and what is Socket? Is IdHTTP a socket?

afuzzyllama
  • 6,538
  • 5
  • 47
  • 64

1 Answers1

1

IdHTTP is not a socket, it´s a VCL component that implements a HTTP client. It´s indeed used to send HTTP commands to a web server, like the POST you want to perform.

Http: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol

Socket: http://en.wikipedia.org/wiki/Network_socket

Post example: Http Post with indy

Community
  • 1
  • 1
AlexSC
  • 1,823
  • 3
  • 28
  • 54