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:

[append] vs. [appendfile] delta + question? (1997) SSL problems (1998) UPDATE PROBLEM (1997) Likelihood of a duplicate (2005) Searching multiple Databases (1997) find with exceptions (1997) OT: webstar/webcat monitoring aides? (1999) OT - robots.txt (2003) MAC versions of WebCatalog 2.1 and WebMerchant 2.1 (1998) [WebDNA] Google map mashups (2010) [WebDNA] [OT] MySQL Users (2011) Webmerchant confirmation hooks? (1997) Multiple serial numbers (1997) Summing fields (1997) WebCat editing, SiteGuard & SiteEdit (1997) I forgot (1998) PCS Emailer's role ? (1997) color and size options (1997) Math Function (1997) system crashes, event log (1997)