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 areattempting 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 NT5.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 UNIXplatforms, still working on the Mac build.Until that feature is available, you can use a third party java app to dothe 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:
The bad news...Currently [tcpconnect] does not support SSL connections, so what you areattempting 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 NT5.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 UNIXplatforms, still working on the Mac build.Until that feature is available, you can use a third party java app to dothe 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)