Board index » delphi » how to send data to a server with the post method
Martin RODOT
![]() Delphi Developer |
Sun, 25 May 2003 03:00:00 GMT
|
Martin RODOT
![]() Delphi Developer |
Sun, 25 May 2003 03:00:00 GMT
how to send data to a server with the post method
Hi !
How is it possible to send data with method=POST to a PHP script for TIA. |
Paul Gertze
![]() Delphi Developer |
Sun, 25 May 2003 03:00:00 GMT
Re:how to send data to a server with the post methodUse a HTTP component that supports post (like Indy) or use a TClientSocket and send the following string/data. // ---------------------------- a=1&b=2&c=3 Paul Quote"Martin RODOT" <MRo...@mrit.kom> wrote in message Quote> Hi ! |
Martin RODO
![]() Delphi Developer |
Tue, 27 May 2003 02:06:50 GMT
Re:how to send data to a server with the post methodThanks ! I have heard about Indy, but unable to find the home page. If someone have it... Paul Gertzen <pgert...@livetechnology.com> a crit dans le message : Quote> Use a HTTP component that supports post (like Indy) or use a TClientSocket |
Rune Mober
![]() Delphi Developer |
Tue, 27 May 2003 02:23:07 GMT
Re:how to send data to a server with the post methodQuoteMartin RODOT wrote: -- |
Martin RODO
![]() Delphi Developer |
Sun, 01 Jun 2003 15:41:45 GMT
Re:how to send data to a server with the post methodHi ! I cannot find the exact data to send with Indy Thttpclient. I tried the following, p1=v1&p2=v2 The script never gets any value in parameters p1, p2. Thanks for help ! Martin RODOT <MRo...@mrit.kom> a crit dans le message : Quote> Thanks ! |
Doychin Bondzhe
![]() Delphi Developer |
Mon, 02 Jun 2003 03:26:33 GMT
Re:how to send data to a server with the post methodTry SL.Add('p1=v1'); IdHttp1.Post('http://www.myhost.com/Test/MyTest.php3 ', SL, res); SL is TStringList and res is result stream. Doychin Quote"Martin RODOT" <MRo...@mrit.kom> wrote in message Quote> Hi ! |
Martin RODO
![]() Delphi Developer |
Mon, 02 Jun 2003 17:42:14 GMT
Re:how to send data to a server with the post methodHi ! I have tried it... and result is the same. I get a response, with every constant string printed by the script, all This is the script : A form at http://www.mrit.com/Essais/TestDemande.htm returns the expected Any idea ? Any parameter that I could have forget ? Regards. Doychin Bondzhev <doic...@5group.com> a crit dans le message : Quote> Try |
Hadi Hariri - Team In
![]() Delphi Developer |
Mon, 16 Jun 2003 00:28:23 GMT
Re:how to send data to a server with the post methodMRo...@mrit.kom (Martin RODOT) wrote in <91a4ir$1...@bornews.inprise.com>: Quote>Hi ! -- |
1. SECOND POST how to cancel SMTP.Send method
2. Really posting data, what method?
3. How to send data to HTML form (POST)?
4. How can I send post data using https?
5. sending GEt and POST to a HTTP server
6. Trouble sending posts to Microsoft Web server.
7. Can someone please send/post an example of using TIdHTTP Post on a site
8. Best Method to Copy Data from DBF to SQL Server (using ADO)