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'AlainOn 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:
| |
- Re: Bulk Register ( Alain Russell 2004)
- Bulk Register ( frank@cwolfe.com 2004)
|
HI Frank ..You need to change the TCPCOnnect line from'port=80' to 'port=443&ssl=t'AlainOn 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:
Frustration with formulas.db (1999)
NT considerations (1997)
[delete] problem (1997)
protect tag on NT (1997)
Requiring that certain fields be completed (1997)
Dummy Credit Card Number for debug? (1997)
4.0 image uploading /features (2000)
[WebDNA] OSX users (2009)
math on date? (1997)
Most Efficiant Way to do restricted Areas (1997)
Global Function (2003)
[WebDNA] TLS 1.2 and [tcpconnect] (2018)
Email notification to one of multiple vendors ? (1997)
Re:quit command on NT (1997)
WebDNAdev.net Widget (2003)
Re:Signal Raised (1997)
slightly OT: advertising schemes (2004)
New index for docs (1997)
webcat nt (1997)
Updating fields from different platforms (1998)