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:

Running 2 two WebCatalog.acgi's (1996) 2 things: CartSweep and Manual (2003) Tracking (2004) pc (1997) WebCatalog and WebMerchant reviewed by InfoWorld (1997) Searchable WebCat (etc.) Docs ? (1997) Time/date formatting %X doesn't work ... (1997) Webcat causing crashes left and right! (1997) Wanted: Broader string manipulation functions (1997) practicing safe queries.. (2000) when is date system date or order date? (1997) Trouble with listwords (2000) Quit revisited (1997) WebMerchant & CC Response (2002) Execute Applescript (1997) Pre-flight public flag (1997) WC2f3 (1997) searching multiple databases (1997) Music in background (2000) test mail (2004)