Re: TCP Connect/send and CGI

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54665
interpreted = N
texte = :-\  You've got me curious.  I've never seen a difference between the functioning of a GET or POST except that you either use a hyperlink or a form.
Oh, maybe your receiving script only recognizes a POST.  That must be it.

Matt

Matt - That works (sortof). though it is not posting the data. It returnsthe same results as if I we passing the data as a GET. I need to POST it.Thanks----- Original Message ----- From: "WebDna @" <webdna@inkblotmedia.com>To: "WebDNA Talk" <WebDNA-Talk@talk.smithmicro.com>Sent: Thursday, December 04, 2003 11:03 AMSubject: Re: TCP Connect/send and CGI  
I am doing this on an Os X server, so it is a sort of *nix, being a    
modified  
BSD and all. I can look at CURL.Your TCPconnect failed. Bad URL. Though when I add the / in front of thecgi-bin it works, but as if I am passing it as a GET not POST.Ron----- Original Message ----- From: "Bob Minor" <bob@cybermill.com>To: "WebDNA Talk" <WebDNA-Talk@talk.smithmicro.com>Sent: Thursday, December 04, 2003 10:43 AMSubject: Re: TCP Connect/send and CGI    
If your on *nix curl is a great tool, it can handle sending andrecieving cookies and much more.Very powerful tool.that said your syntax is wrong should be something like:[TCPConnect host=aa.usno.navy.mil][TCPSend]POSTcgi-bin/aa_altazw?FFX=2&obj=10&xxy=2003&xxm=3&xxd=4&xxi=10&place=&xx0=-1&xx1=118&xx2=14&yy0=1&yy1=34&yy2=03&zz1=8&zz0=-1&ZZZ=END[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend][/TCPConnect]But you may need to work it a little different. See the online guideand also the UPS tools in storebuilder for some good examples.On Dec 4, 2003, at 12:28 PM, WebDna @ wrote:      
--code[TCPConnect host=aa.usno.navy.mil/cgi-bin/aa_altazw][TCPSend]POST /FFX=2&obj=10&xxy=2003&xxm=3&xxd=4&xxi=10&place=&xx0=-1&xx1=118&xx2=14&yy0=1&        
yy1=34&yy2=03&zz1=8&zz0=-1&ZZZ=END[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend]  
[/TCPConnect]--resultsError: couldn't connect to host [aa.usno.navy.mil/cgi-bin/aa_altazw]        
Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com        http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, *nix, and AS/400.Complete ddos proof hosting solutions and network services.-------------------------------------------------------------This message is sent to you because you are subscribed to  the mailing list <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to      
<WebDNA-Talk-digest@talk.smithmicro.com>    
Web Archive of this list is at: http://webdna.smithmicro.com/      
-------------------------------------------------------------This message is sent to you because you are subscribed to  the mailing list <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to    
<WebDNA-Talk-digest@talk.smithmicro.com>  
Web Archive of this list is at: http://webdna.smithmicro.com/    
-------------------------------------------------------------This message is sent to you because you are subscribed to  the mailing list <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to <WebDNA-Talk-digest@talk.smithmicro.com>Web Archive of this list is at: http://webdna.smithmicro.com/  

------------------------------------------------------------- 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:

    
  1. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  2. Re: TCP Connect/send and CGI ( Rob Marquardt 2003)
  3. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  4. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  5. Re: TCP Connect/send and CGI ( Stuart Tremain 2003)
  6. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  7. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  8. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  9. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  10. Re: TCP Connect/send and CGI ( "Dan Strong" 2003)
  11. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  12. Re: TCP Connect/send and CGI ( John Peacock 2003)
  13. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  14. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  15. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  16. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  17. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  18. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  19. Re: TCP Connect/send and CGI ( Bob Minor 2003)
  20. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  21. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  22. Re: TCP Connect/send and CGI ( Donovan Brooke 2003)
  23. TCP Connect/send and CGI ( "WebDna @" 2003)
:-\  You've got me curious.  I've never seen a difference between the functioning of a GET or POST except that you either use a hyperlink or a form.
Oh, maybe your receiving script only recognizes a POST.  That must be it.

Matt

Matt - That works (sortof). though it is not posting the data. It returnsthe same results as if I we passing the data as a GET. I need to POST it.Thanks----- Original Message ----- From: "WebDna @" <webdna@inkblotmedia.com>To: "WebDNA Talk" <WebDNA-Talk@talk.smithmicro.com>Sent: Thursday, December 04, 2003 11:03 AMSubject: Re: TCP Connect/send and CGI  
I am doing this on an Os X server, so it is a sort of *nix, being a    
modified  
BSD and all. I can look at CURL.Your TCPconnect failed. Bad URL. Though when I add the / in front of thecgi-bin it works, but as if I am passing it as a GET not POST.Ron----- Original Message ----- From: "Bob Minor" <bob@cybermill.com>To: "WebDNA Talk" <WebDNA-Talk@talk.smithmicro.com>Sent: Thursday, December 04, 2003 10:43 AMSubject: Re: TCP Connect/send and CGI    
If your on *nix curl is a great tool, it can handle sending andrecieving cookies and much more.Very powerful tool.that said your syntax is wrong should be something like:[TCPConnect host=aa.usno.navy.mil][tcpsend]POSTcgi-bin/aa_altazw?FFX=2&obj=10&xxy=2003&xxm=3&xxd=4&xxi=10&place=&xx0=-1&xx1=118&xx2=14&yy0=1&yy1=34&yy2=03&zz1=8&zz0=-1&ZZZ=END[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend][/TCPConnect]But you may need to work it a little different. See the online guideand also the UPS tools in storebuilder for some good examples.On Dec 4, 2003, at 12:28 PM, WebDna @ wrote:      
--code[TCPConnect host=aa.usno.navy.mil/cgi-bin/aa_altazw][tcpsend]POST /FFX=2&obj=10&xxy=2003&xxm=3&xxd=4&xxi=10&place=&xx0=-1&xx1=118&xx2=14&yy0=1&        
yy1=34&yy2=03&zz1=8&zz0=-1&ZZZ=END[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend]  
[/TCPConnect]--resultsError: couldn't connect to host [aa.usno.navy.mil/cgi-bin/aa_altazw]        
Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com        http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, *nix, and AS/400.Complete ddos proof hosting solutions and network services.-------------------------------------------------------------This message is sent to you because you are subscribed to  the mailing list <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to      
<WebDNA-Talk-digest@talk.smithmicro.com>    
Web Archive of this list is at: http://webdna.smithmicro.com/      
-------------------------------------------------------------This message is sent to you because you are subscribed to  the mailing list <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to    
<WebDNA-Talk-digest@talk.smithmicro.com>  
Web Archive of this list is at: http://webdna.smithmicro.com/    
-------------------------------------------------------------This message is sent to you because you are subscribed to  the mailing list <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to <WebDNA-Talk-digest@talk.smithmicro.com>Web Archive of this list is at: http://webdna.smithmicro.com/  

------------------------------------------------------------- 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/ Matthew A Perosi

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:

WebCat B13 Mac CGI -- Frames question (1997) Summary search -- speed (1997) Suggestions (1998) WebCat2 - [format thousands] (1997) notification solutions (1997) Type 11 errors setting up WebCAt 2 (1997) Search Engine questions ... (2002) RE: Formulas.db + Users.db (1997) [WebDNA] filter out the exclaimation point (2017) emailer (1997) HELP WITH DATES (1997) [ListFiles] & [loop] (1998) Username for Admin Group (1997) Quit revisited (1997) Emailer (1997) [WebDNA] [BULK] WebDNA AJAX example wanted! (2010) email program problem (1998) is sku a REQUIRED field on NT (1997) adding time (2003) Sorting Round 2 plus (1998)