Re: TCPSend GET vs POST
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68330
interpreted = N
texte = Thank you for the excellent clarification. That's just what I needed to know.Jim ZieglerOn Jan 15, 2007, at 3:39 PM, Dennis J. Bonsall, Jr. wrote:>> Can anyone explain the difference between [TCPSend] GET and >> [TCPSend] Post? Is it the same kind of difference as between GET >> and POST in HTML forms?>> The TCPSend context is nothing more than what tells WebDNA to begin > transmitting the data inside while connected to a remote server via > the TCPConnect context. The use of the GET or POST statement is > not part of the TCPSend context itself, which is why it appears > between [tcpsend] and [/tcpsend] and not within the brackets (such > as [tcpsend get]). When connecting to a web server, the GET or > POST statement tells the server what type of connection to expect. > If you connect to a server other than a web server, you would not > even use the GET or POST statements. If you've ever viewed the > transmission of data between a browser and a server, you will see > that the browser will issue the statement first, simply to tell the > server what type of connection to expect. When you are using the > TCPConnect and TCPSend contexts and connecting to a web server, you > are in essence building a custom browser session to connect to the > server. The goal of your efforts is to look like a browser to the > server. In that regard, when you use the GET or POST statements, > you are emulating a browser's get and post as used in a form, so it > would function the same - there would be no difference.>>> If you're authorizing a credit card, should you use POST because >> it's more secure? I've been testing with Authorize.net, and both >> seem to function.>> POST itself is no more secure than GET. It can appear as more > secure because the data is not transmitted in the URL, but a steam > watcher can intercept the data as simply as in a GET statement. > What makes the connection secure is the use of SSL, which is a > parameter that can be selected within the TCPConnect context. In > that case, it makes no difference whether you use GET or POST, as > both would be encrypted. And, since a connection from your WebDNA > server to another server is not visible in the browser window that > initiated the script, there would be no browser address field for > the data to appear in (as would be the case for a browser to server > connection using GET).>> Typically, however, you should use POST, since it will allow for > more that 256 characters to be transmitted. GET is historically > limited to 256 characters, but I am sure that WebDNA would have no > problem sending whatever you put in the field. The receiving > server, though, might be a different story.>> Dennis>>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thank you for the excellent clarification. That's just what I needed to know.Jim ZieglerOn Jan 15, 2007, at 3:39 PM, Dennis J. Bonsall, Jr. wrote:>> Can anyone explain the difference between [tcpsend] GET and >> [tcpsend] Post? Is it the same kind of difference as between GET >> and POST in HTML forms?>> The TCPSend context is nothing more than what tells WebDNA to begin > transmitting the data inside while connected to a remote server via > the TCPConnect context. The use of the GET or POST statement is > not part of the TCPSend context itself, which is why it appears > between [tcpsend] and [/tcpsend] and not within the brackets (such > as [tcpsend get]). When connecting to a web server, the GET or > POST statement tells the server what type of connection to expect. > If you connect to a server other than a web server, you would not > even use the GET or POST statements. If you've ever viewed the > transmission of data between a browser and a server, you will see > that the browser will issue the statement first, simply to tell the > server what type of connection to expect. When you are using the > TCPConnect and TCPSend contexts and connecting to a web server, you > are in essence building a custom browser session to connect to the > server. The goal of your efforts is to look like a browser to the > server. In that regard, when you use the GET or POST statements, > you are emulating a browser's get and post as used in a form, so it > would function the same - there would be no difference.>>> If you're authorizing a credit card, should you use POST because >> it's more secure? I've been testing with Authorize.net, and both >> seem to function.>> POST itself is no more secure than GET. It can appear as more > secure because the data is not transmitted in the URL, but a steam > watcher can intercept the data as simply as in a GET statement. > What makes the connection secure is the use of SSL, which is a > parameter that can be selected within the TCPConnect context. In > that case, it makes no difference whether you use GET or POST, as > both would be encrypted. And, since a connection from your WebDNA > server to another server is not visible in the browser window that > initiated the script, there would be no browser address field for > the data to appear in (as would be the case for a browser to server > connection using GET).>> Typically, however, you should use POST, since it will allow for > more that 256 characters to be transmitted. GET is historically > limited to 256 characters, but I am sure that WebDNA would have no > problem sending whatever you put in the field. The receiving > server, though, might be a different story.>> Dennis>>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Jim Ziegler
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[SendMail] from a form? (1998)
ShowNext (1997)
Custom formulas.db (1998)
Help! WebCat2 bug (1997)
Less than or equal to........ (1997)
Quit revisited (1997)
Multiple prices (1997)
What am I missing (1997)
PhotoMill -> PhotoMaster (1997)
RE: MacFinder -- a new WebDNA web site (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
[SHOWIF] (1997)
OT: JavaScript question (2001)
[WebDNA] Problem with Cookies in IE and Safari (2009)
Limit on nested [ShowIf]'s? (1997)
Editing Users.db (1997)
[SQL] on MacOs to SQL Server ... HOW TO? (2000)
Text variables do not show (1999)
WebCat and image maps (1997)
Getting total number of items ordered (1997)