Re: [tcpsend]

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39284
interpreted = N
texte = The bad news... Currently [TCPConnect] does not support SSL connections, so what you are attempting is not possible with [TCPConnect]also... Your POST is not in the correct format. Should be something like this: [text]post_data=[/text][tcpconnect host=www.domain.com] [tcpsend]POST /yourpage.html HTTP/1.0[UnURL]%0D%0A[/UnURL][!] [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[UnURL]%0D%0A[/UnURL][!] [/!]Content-type: application/x-www-form-urlencoded[UnURL]%0D%0A[/UnURL][!] [/!]Content-length: [CountChars][post_data][/CountChars][UnURL]%0D%0A[/UnURL][!] [/!][UnURL]%0D%0A[/UnURL][!] [/!][post_data][UnURL]%0D%0A[/UnURL][!] [/!][/TCPSend] [/tcpconnect] The good news... We are currently integrating SSL into [TCPConnect] I am sure many WebCat developers will appreciate this...[TCPConnect host=...&port=443&SSL=T]We have this working on test builds of WebCatalog for the Windows and UNIX platforms, still working on the Mac build.Until that feature is available, you can use a third party java app to do the communication for you (Sounds like Jay Van Vark may be able to help). > -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > Behalf Of Jeff Grady > Sent: Thursday, October 11, 2001 1:29 PM > To: WebCatalog Talk > Subject: [tcpsend] > > > Can [tcpconnect] and [tcpsend] be used to pass > name/value pairs to ANY url? > > I am trying to use this method to test iBill's CC > services. Here is what I am trying: > > [tcpconnect host=secure.ibill.com&port=443] > [TCPSend]POST > /cgi-win/ccard/tpcard.exe?reqtype=authorize&account=89598112&p > assword=1tr1al4u&saletype=sale&cardnum=4128000011112222&cardex > p=0304&noc=jon&address1=99anystreet&zipcode=27707&amount=152.9 > 8&crefnum=920344. > HTTP/1.0 [UnURL]%0D%0D%0A[/UnURL][/tcpsend] > [/tcpconnect] > > A couple of stipulations they make in their > documentation are that the post method is used and > that the content-type header should be set to > application/x-www-form-urlencoded > > The above never works and all I do is time out > > Any thoughts? > > Thanks! > Jeff > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.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://search.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [TCPSend] Test email address??? (christophe.billiottet@webdna.us 2011)
  2. [WebDNA] [TCPSend] Test email address??? (Lawrence 2011)
  3. Re: [tcpsend] (Scott Anderson 2001)
  4. Re: [tcpsend] (dale 2001)
  5. Re: [tcpsend] (Michael Davis 2001)
  6. Re: [tcpsend] (Scott Anderson 2001)
  7. Re: [tcpsend] (Bob Minor 2001)
  8. Re: [tcpsend] (Scott Anderson 2001)
  9. Re: [tcpsend] (Bob Minor 2001)
  10. Re: [tcpsend] (Scott Anderson 2001)
  11. Re: [tcpsend] (John Peacock 2001)
  12. Re: [tcpsend] (Alain Russell 2001)
  13. Re: [tcpsend] (Bob Minor 2001)
  14. Re: [tcpsend] (Bob Minor 2001)
  15. Re: [tcpsend] (Jay Van Vark 2001)
  16. Re: [tcpsend] (Sam Lewis 2001)
  17. [tcpsend] (Jeff Grady 2001)
  18. Re: [showif] based on data from [tcpconnect][tcpsend]? (Rob Marquardt 2000)
  19. Re: [showif] based on data from [tcpconnect][tcpsend]? (Mark Derrick 2000)
  20. Re: [showif] based on data from [tcpconnect][tcpsend]? (Alex McCombie 2000)
  21. Re: [showif] based on data from [tcpconnect][tcpsend]? (Dennis J. Bonsall, Jr. 2000)
  22. Re: [showif] based on data from [tcpconnect][tcpsend]? (Mark Derrick 2000)
  23. Re: [showif] based on data from [tcpconnect][tcpsend]? (Dennis J. Bonsall, Jr. 2000)
  24. [showif] based on data from [tcpconnect][tcpsend]? (Mark Derrick 2000)
  25. Re: [TCPSend] and whois? (Charlie Romero 1999)
  26. Re: [TCPSend] and whois? (Peter Ostry 1999)
  27. Re: [TCPSend] and whois? (Rob Marquardt 1999)
  28. Re: [TCPSend] and whois? (Rob Marquardt 1999)
  29. Re: [TCPSend] and whois? (Rob Marquardt 1999)
  30. Re: [TCPSend] and whois? (The Mooseman 1999)
  31. [TCPSend] and whois? (Charlie Romero 1999)
  32. [tcpsend] ( A po)
The bad news... Currently [tcpconnect] does not support SSL connections, so what you are attempting is not possible with [tcpconnect]also... Your POST is not in the correct format. Should be something like this: [text]post_data=[/text][tcpconnect host=www.domain.com] [tcpsend]POST /yourpage.html HTTP/1.0[unurl]%0D%0A[/UnURL][!] [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[unurl]%0D%0A[/UnURL][!] [/!]Content-type: application/x-www-form-urlencoded[unurl]%0D%0A[/UnURL][!] [/!]Content-length: [countchars][post_data][/CountChars][unurl]%0D%0A[/UnURL][!] [/!][unurl]%0D%0A[/UnURL][!] [/!][post_data][unurl]%0D%0A[/UnURL][!] [/!][/TCPSend] [/tcpconnect] The good news... We are currently integrating SSL into [tcpconnect] I am sure many WebCat developers will appreciate this...[TCPConnect host=...&port=443&SSL=T]We have this working on test builds of WebCatalog for the Windows and UNIX platforms, still working on the Mac build.Until that feature is available, you can use a third party java app to do the communication for you (Sounds like Jay Van Vark may be able to help). > -----Original Message----- > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > Behalf Of Jeff Grady > Sent: Thursday, October 11, 2001 1:29 PM > To: WebCatalog Talk > Subject: [tcpsend] > > > Can [tcpconnect] and [tcpsend] be used to pass > name/value pairs to ANY url? > > I am trying to use this method to test iBill's CC > services. Here is what I am trying: > > [tcpconnect host=secure.ibill.com&port=443] > [tcpsend]POST > /cgi-win/ccard/tpcard.exe?reqtype=authorize&account=89598112&p > assword=1tr1al4u&saletype=sale&cardnum=4128000011112222&cardex > p=0304&noc=jon&address1=99anystreet&zipcode=27707&amount=152.9 > 8&crefnum=920344. > HTTP/1.0 [unurl]%0D%0D%0A[/UnURL][/tcpsend] > [/tcpconnect] > > A couple of stipulations they make in their > documentation are that the post method is used and > that the content-type header should be set to > application/x-www-form-urlencoded > > The above never works and all I do is time out > > Any thoughts? > > Thanks! > Jeff > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.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://search.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://search.smithmicro.com/ Scott Anderson

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:

Error with [applescript] (1999) PIXO Support (1997) Re:2nd WebCatalog2 Feature Request (1996) Nested Loops and SHOWIFs (1997) Summing fields (1997) Location of Browser Info.txt file (1997) why won't this TCPConnect/Send work? (2004) [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018) Date problems (1997) Multiple prices (1997) Date Format not working (2004) [SHOWIF AND/OR] (1997) [WebDNA] writefile / RETS (2009) [WebDNA] mod_WebDNA_apache2.2.so: mach-0, but wrong architecture (2010) Not really WebCat - need HTML Grider (1997) WC Database Format (1997) Help! WebCat2 bug (1997) Plugin or CGI or both (1997) Looking for a Manual (1997) attn: smitmicro - cart limitation (2002)