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:

remotely add + sign (1997) 'does not contain' operator needed ... (1997) more [sendmail] woes.. (2000) WebCat2b15MacPlugin - showing [math] (1997) [showif] / [hideif] (1997) Can't Update records (1997) multi-paragraph fields (1997) WC2b12: Yes, Formulas.db is for real (1997) Test (2000) Search inside Include (1998) WriteFile and returns... (2000) I give up!! (1997) taxRate is fine but taxTotal isn't (1997) What am I missing (1997) Integrating Bar Codes with WebDNA (2006) PC Hub and Web Merchant (1998) File Upload problem solved (2002) Bug? (1997) [WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char? (2012) Properly coded search fails ... (2003)