|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to send http post
What would be the best way to post a request to a web page.
when an event happens in my app i want to post to a website (http://www.webpage.com/test.php?cust_id=11) and then disconnect. |
|
#2
|
|||
|
|||
|
...
Friend simple to post something on a website using an HTTP client. Otherwise you can use wininet.dll(I think you now must being using it).Use these functions:
InternetOpen() InternetConnect() OpenRequest() SendRequest() (remark:you must add a header:'content-type:application/x-form-urlencoded') HttpQueryInfo() InternetReadFile() |
|
#3
|
||||
|
||||
|
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month |
|
#4
|
|||
|
|||
|
I decided I am going to use the NMHTTP component. I haven't got round to trying it yet, so if you have any pointers let me know.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Delphi Programming > How to send http post |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|