 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
nicolas cretaux Guest
|
Posted: Wed Dec 15, 2004 2:36 pm Post subject: HTTP send command with POST variables |
|
|
Hi,
I'm new on this group.
I am an old user of Delphi 6 but new with Delphi 7.
I have a Delphi 6 internet application which uses the HTTP "send" function, and sends the variables in a POST way. There is a bug in Delphi which limits the size of POST variables at 256 cars. So, instead of the Delphi 6 buyild-in function, I used in my application the "INTERNET COMPONENT SUITE" published by the Overbyte company (this package included a send function with the bug corrected).
As I am using now Delphi 7, maybe the bug has been corrected.
My question is :
who knows which is the tool/component of Delphi 7 which includes the HTTP send function and that I should use now ?
How must I use it with a POST method for the variables ?
Thanks for your help.
NicolasHi,
I'm new on this group.
I am an old user of Delphi 6 but new with Delphi 7.
I have a Delphi 6 internet application which uses the HTTP "send" function, and sends the variables in a POST way. There is a bug in Delphi which limits the size of POST variables at 256 cars. So, instead of the Delphi 6 buyild-in function, I used in my application the "INTERNET COMPONENT SUITE" published by the Overbyte company (this package included a send function with the bug corrected).
As I am using now Delphi 7, maybe the bug has been corrected.
My question is :
who knows which is the tool/component of Delphi 7 which includes the HTTP send function and that I should use now ?
How must I use it with a POST method for the variables ?
Thanks for your help.
Nicolas
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Dec 15, 2004 6:50 pm Post subject: Re: HTTP send command with POST variables |
|
|
"nicolas cretaux" <cretaux (AT) hli (DOT) fr> wrote
| Quote: | I have a Delphi 6 internet application which uses the HTTP "send" function
|
Which function are you referring to exactly? Is it a method of a component?
If so, which component? If not, then which API are you using? WinInet?
Other?
Gambit
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Wed Dec 15, 2004 6:54 pm Post subject: Re: HTTP send command with POST variables |
|
|
They use ICS from François.
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> schrieb im Newsbeitrag
news:41c08762$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"nicolas cretaux" <cretaux (AT) hli (DOT) fr> wrote in message
news:41c04bd6$1 (AT) newsgroups (DOT) borland.com...
I have a Delphi 6 internet application which uses the HTTP "send"
function
Which function are you referring to exactly? Is it a method of a
component?
If so, which component? If not, then which API are you using? WinInet?
Other?
Gambit
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Dec 15, 2004 7:37 pm Post subject: Re: HTTP send command with POST variables |
|
|
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote
| Quote: | They use ICS from François.
|
He said that he switched to ICS to solve the problem, but he did not say
what he was using when the problem was occuring.
Gambit
|
|
| Back to top |
|
 |
Thomas Wegner Guest
|
Posted: Wed Dec 15, 2004 9:32 pm Post subject: Re: HTTP send command with POST variables |
|
|
Oh sorry. My bad English brings me again and again in difficulties. Wanted
to only help.
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> schrieb im Newsbeitrag
news:41c0925e$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote in message
news:41c0887a (AT) newsgroups (DOT) borland.com...
They use ICS from François.
He said that he switched to ICS to solve the problem, but he did not say
what he was using when the problem was occuring.
Gambit
|
|
|
| Back to top |
|
 |
Nicolas Cretaux Guest
|
Posted: Fri Dec 17, 2004 10:13 am Post subject: Re: HTTP send command with POST variables |
|
|
Excuse me I was away so I could not answer.
With Delphi 6, I was initially using the control NMHTTP and
the “function” Get, sending the variables with a Post command
(same control). This did not work in Delphi 6, due to a bug that limits the length of Post variables to 256.
So I used the ICS of François Piette that worked fine.
My question is : how do I do with Delphi 7. Is there a corrected control in Delphi 7 that permits to use the commands Get/Post ? What is the name of the control and where do I find an example showing how to use it ?
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote:
| Quote: | Oh sorry. My bad English brings me again and again in difficulties. Wanted
to only help.
---------------------------------------------
Thomas Wegner
Cabrio Meter - The Weather Plugin for Trillian
http://www.wegner24.de
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> schrieb im Newsbeitrag
news:41c0925e$1 (AT) newsgroups (DOT) borland.com...
"Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote in message
news:41c0887a (AT) newsgroups (DOT) borland.com...
They use ICS from François.
He said that he switched to ICS to solve the problem, but he did not say
what he was using when the problem was occuring.
Gambit
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Fri Dec 17, 2004 10:45 am Post subject: Re: HTTP send command with POST variables |
|
|
"Nicolas Cretaux" <cretaux (AT) hli (DOT) fr> wrote
| Quote: | With Delphi 6, I was initially using the control NMHTTP
|
The NetMaster components are notoriously buggy. You should not use them at
all.
| Quote: | how do I do with Delphi 7. Is there a corrected control in Delphi 7
that permits to use the commands Get/Post ? What is the name of the
control and where do I find an example showing how to use it ?
|
You can continue to use ICS. The current version supports Delphi 7.
Gambit
|
|
| Back to top |
|
 |
eshipman Guest
|
Posted: Fri Dec 17, 2004 2:36 pm Post subject: Re: HTTP send command with POST variables |
|
|
In article <41c2b13e$1 (AT) newsgroups (DOT) borland.com>, [email]cretaux (AT) hli (DOT) fr[/email] says...
| Quote: |
Excuse me I was away so I could not answer.
With Delphi 6, I was initially using the control NMHTTP and
the ?function? Get, sending the variables with a Post command
(same control). This did not work in Delphi 6, due to a bug that limits the length of Post variables to 256.
So I used the ICS of François Piette that worked fine.
SNIP |
I would think that if you had >256 variables, you had something
seriously wrong with your implementation.
|
|
| Back to top |
|
 |
Clever Components Team Guest
|
Posted: Thu Dec 30, 2004 7:42 am Post subject: Re: HTTP send command with POST variables |
|
|
Dear Nicolas,
Please check our detailed arcticles with examples and sources regarding
POST:
1) Simulate a Web Submit Wizard with POST Request
http://clevercomponents.com/articles/article014/websubmitwizard.asp
2) Simulate a Web Form POST Request
http://clevercomponents.com/articles/article009/httppost.asp
Best regards,
Clever Components Team
http://www.clevercomponents.com
"nicolas cretaux" <cretaux (AT) hli (DOT) fr> wrote
| Quote: |
Hi,
I'm new on this group.
I am an old user of Delphi 6 but new with Delphi 7.
I have a Delphi 6 internet application which uses the HTTP "send"
function, and sends the variables in a POST way. There is a bug in Delphi |
which limits the size of POST variables at 256 cars. So, instead of the
Delphi 6 buyild-in function, I used in my application the "INTERNET
COMPONENT SUITE" published by the Overbyte company (this package included a
send function with the bug corrected).
| Quote: | As I am using now Delphi 7, maybe the bug has been corrected.
My question is :
who knows which is the tool/component of Delphi 7 which includes the HTTP
send function and that I should use now ?
How must I use it with a POST method for the variables ?
Thanks for your help.
NicolasHi,
I'm new on this group.
I am an old user of Delphi 6 but new with Delphi 7.
I have a Delphi 6 internet application which uses the HTTP "send"
function, and sends the variables in a POST way. There is a bug in Delphi |
which limits the size of POST variables at 256 cars. So, instead of the
Delphi 6 buyild-in function, I used in my application the "INTERNET
COMPONENT SUITE" published by the Overbyte company (this package included a
send function with the bug corrected).
| Quote: | As I am using now Delphi 7, maybe the bug has been corrected.
My question is :
who knows which is the tool/component of Delphi 7 which includes the HTTP
send function and that I should use now ?
How must I use it with a POST method for the variables ?
Thanks for your help.
Nicolas
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|