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:

Windows 95/NT tip of the month (1998) [quantity] and quantity[lineindex] (2000) European Dates (1998) Slow Server (2005) re:check boxes (1997) OK, here goes... (1997) Country & Ship-to address & other fields ? (1997) Replace context problem ... (1997) [WebDNA] sendmail html with image attachments (2008) dates and hex formatting (1997) sort problems....bug or brain fart? (1997) all records returned. (1997) Shipping charges (1998) webcat NT (1998) Templates for Customer Database? (1997) Hideifs / Showifs (2000) random prob (2003) Nesting format tags (1997) [WebDNA] ReturnRAW problem with Safari (2015) shipcost (1997)