Board index » delphi » sending GEt and POST to a HTTP server

sending GEt and POST to a HTTP server

Hi all. I need to send GEt and POST commands in the roung length of
2500 charecters to HTTP servers. Anyone achieving this or any idea
about components that can do it. I use IMS for Argosoft but I think I
am limited to 256 charecters....

Please CC: to mana...@proesc.conxion.com.au as news is slow....
**********************************
Sale-Net
Internet Advertising
http://sale-net.conxion.com.au
Home of Camera Capture
***********************************

 

Re:sending GEt and POST to a HTTP server


Quote
On Sun, 30 Nov 1997, The boss wrote:
> Hi all. I need to send GEt and POST commands in the roung length of
> 2500 charecters to HTTP servers.

You need to do a POST method.  I beleive GET only handles up to 410
characters of data.  

In Delphi 2/3 you can create a console app and read the web server's
CONTENT_LENGTH variable(it's a system variable like PATH and BLASTER).
Then you need to READLN the input from the Console and Parse it into
your variables.   TO Generate your CGI HTML page you WRITE or WRITELN your
data to the console.

Quote
> Anyone achieving this or any idea
> about components that can do it. I use IMS for Argosoft but I think I
> am limited to 256 charecters....

Delphi 1?

Hope that helps you out.

Garth Dahlstrom
Comp Sci II / TA Comp Sci I
University of Western Ontario

Re:sending GEt and POST to a HTTP server


Quote
> Hi all. I need to send GEt and POST commands in the roung length of
> 2500 charecters to HTTP servers. Anyone achieving this or any idea
> about components that can do it. I use IMS for Argosoft but I think I
> am limited to 256 charecters....

Look at http://www.rtfm.be/fpiette/indexuk.htm
There is a freeware HTTP component able to do that (D2 or D3).

Other Threads