Re: Bulk Register

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56732
interpreted = N
texte = HI Frank .. You need to change the TCPCOnnect line from 'port=80' to 'port=443&ssl=t' Alain On 11/03/2004, at 9:25 PM, frank@cwolfe.com wrote: > Has anyone had a problem using TCPconnect to communicate with > BulkRegisters automated domain name system? > > I'm fairly certain my code is now OK, but keep getting weird response > from bulkregister server. > > my code (with the help of the list) is: > ( WebCat 4.5 on NT.) > > [text]crlf=[unurl]%0D%0A[/unurl][/text] > > [text]thevariables=act=[url]CheckDomain[/url]&[!] > [/!]userID=[url]XXX-BR[/url]&[!] > [/!]authorizationHash=[url]12345678123456[/url]&[!] > [/!]packageType=domain&[!] > [/!]domainName=[url]cwolfe[/url]&[!] > [/!]tld=[url].com[/url][!] > [/!][/text] > > [text]BRRESPONSE=[TCPCONNECT > host=staging.bulkregister.com&port=443&ssl=T] > [TCPSEND]GET staging.bulkregister.com:443/burrp/BulkRegXServlet > HTTP/1.1[crlf][!] > <--------also tried------> > [TCPSEND]POST /burrp/BulkRegXServlet HTTP/1.1[crlf][!] > [/!]Host: staging.bulkregister.com[crlf][!] > > [/!]Content-type: application/x-www-form-urlencoded[CRLF][!] > [/!]Content-length: [countchars][thevariables][/countchars][crlf][!] > [/!][crlf][!] > [/!][thevariables][crlf][!] > [/!][/tcpsend] > [/tcpconnect] > [/text] > > > [WRITEFILE file=thevariables.txt][thevariables][/WRITEFILE] > [WRITEFILE file=BRresponse.txt][BRRESPONSE][/WRITEFILE] > > The response I get is: > > 'You're speaking plain HTTP to an SSL-enabled server port. Instead > use the HTTPS scheme to access this URL" > > Which, makes me think it is bombing on the TCPconnect command? > > This is not much different from how I send credit cards to > authorize.net, which works fine. I've tried variations with https:, > but then get an error, can't communicate with > https://staging.bulkregister.com > > Does anyone know something special or obvious that I am not doing? > > Thanks, > Frank > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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: Bulk Register ( Alain Russell 2004)
  2. Bulk Register ( frank@cwolfe.com 2004)
HI Frank .. You need to change the TCPCOnnect line from 'port=80' to 'port=443&ssl=t' Alain On 11/03/2004, at 9:25 PM, frank@cwolfe.com wrote: > Has anyone had a problem using TCPconnect to communicate with > BulkRegisters automated domain name system? > > I'm fairly certain my code is now OK, but keep getting weird response > from bulkregister server. > > my code (with the help of the list) is: > ( WebCat 4.5 on NT.) > > [text]crlf=[unurl]%0D%0A[/unurl][/text] > > [text]thevariables=act=[url]CheckDomain[/url]&[!] > [/!]userID=[url]XXX-BR[/url]&[!] > [/!]authorizationHash=[url]12345678123456[/url]&[!] > [/!]packageType=domain&[!] > [/!]domainName=[url]cwolfe[/url]&[!] > [/!]tld=[url].com[/url][!] > [/!][/text] > > [text]BRRESPONSE=[TCPCONNECT > host=staging.bulkregister.com&port=443&ssl=T] > [tcpsend]GET staging.bulkregister.com:443/burrp/BulkRegXServlet > HTTP/1.1[crlf][!] > <--------also tried------> > [tcpsend]POST /burrp/BulkRegXServlet HTTP/1.1[crlf][!] > [/!]Host: staging.bulkregister.com[crlf][!] > > [/!]Content-type: application/x-www-form-urlencoded[CRLF][!] > [/!]Content-length: [countchars][thevariables][/countchars][crlf][!] > [/!][crlf][!] > [/!][thevariables][crlf][!] > [/!][/tcpsend] > [/tcpconnect] > [/text] > > > [WRITEFILE file=thevariables.txt][thevariables][/WRITEFILE] > [WRITEFILE file=BRresponse.txt][BRRESPONSE][/WRITEFILE] > > The response I get is: > > 'You're speaking plain HTTP to an SSL-enabled server port. Instead > use the HTTPS scheme to access this URL" > > Which, makes me think it is bombing on the TCPconnect command? > > This is not much different from how I send credit cards to > authorize.net, which works fine. I've tried variations with https:, > but then get an error, can't communicate with > https://staging.bulkregister.com > > Does anyone know something special or obvious that I am not doing? > > Thanks, > Frank > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ Alain Russell

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:

question: webmerchant connection (1997) Custom WebCat Prefs ... (1997) Oracle ODBC Driver For Mac (2001) Faxing orders in place of email (1997) Copy, Move, Create Folders (1998) Shipping.db (1998) Major Security Hole (1998) PCS Frames (1997) 2nd WebCatalog2 Feature Request (1996) [WebDNA] How to code a 301 redirect (2008) Limit on nested [ShowIf]'s? (1997) emailer (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) Multiple 'Users.db' files not possible (1997) Security Hole - NetCloak Update (1998) Database Options (1997) [UPPERCASE] (1997) Databases.tpl (2000) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Problem: 3.0 doesn't update carts (1997)