Re: US Postal Service API
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69541
interpreted = N
texte = Well what a screw up ....After a lot of Googling I came across a forum where someone had posted their code and left their username in it, so I tried THEIR username on the production server and now it works.Seems that their TEST server is faulty!!!!On 05/12/2007, at 5:12 PM, Stuart Tremain wrote:> Still getting this stupid message>> IntlRate is not a valid API name for this protocol.> :(>> On 05/12/2007, at 1:48 AM, Donovan Brooke wrote:>>> Stuart Tremain wrote:>>>>> The instructions are pretty straight forward>>> http://www.usps.com/webtools/htm/Rate-Calculators-v1-2.htm#_Toc166663661>>>> Stuart, here is my live tcpconnect...>>>> [text]xml_result=[middle startafter=&endbefore=]>> [tcpconnect host=
]>> [tcpsend]POST / HTTP/1.0[UnURL]%0D%0A[/UnURL][!]>> [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) >> [UnURL]%0D%0A[/UnURL][!]>> [/!]Content-type: application/x-www-form-urlencoded[UnURL]%0D%0A[/ >> UnURL][!]>> [/!]Content-length: [CountChars][content][/CountChars][UnURL]%0D >> %0A[/UnURL][!]>> [/!][UnURL]%0D%0A[/UnURL][!]>> [/!][content][UnURL]%0D%0A[/UnURL][!]>> [/!][/TCPSend]>> [/tcpconnect][/middle][/text]>>>>>> Then use something like this below for testing:>> *** TESTING ****
>> [input][xml_result][/input]
>>
>>>>>>>> Donovan>>>>>>>> -- >> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>> DONOVAN D. BROOKE EUCA Design Center>>>> <- Web Development (specializing in eCommerce),->>> <- Desktop Publishing, Print Consulting, Labels ->>> <- Glass Blowing, and Art Glass ->>>>> PH/FAX:> 1 (608) 770-3822>> Web:> http://www.egg.bz | http://www.euca.us>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>>>> ------------------------------------------------------------->> 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/-------------------------------------------------------------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:
Well what a screw up ....After a lot of Googling I came across a forum where someone had posted their code and left their username in it, so I tried THEIR username on the production server and now it works.Seems that their TEST server is faulty!!!!On 05/12/2007, at 5:12 PM, Stuart Tremain wrote:> Still getting this stupid message>> IntlRate is not a valid API name for this protocol.> :(>> On 05/12/2007, at 1:48 AM, Donovan Brooke wrote:>>> Stuart Tremain wrote:>>>>> The instructions are pretty straight forward>>> http://www.usps.com/webtools/htm/Rate-Calculators-v1-2.htm#_Toc166663661>>>> Stuart, here is my live tcpconnect...>>>> [text]xml_result=[middle startafter=&endbefore=]>> [tcpconnect host=]>> [tcpsend]POST / HTTP/1.0[unurl]%0D%0A[/UnURL][!]>> [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) >> [unurl]%0D%0A[/UnURL][!]>> [/!]Content-type: application/x-www-form-urlencoded[unurl]%0D%0A[/ >> UnURL][!]>> [/!]Content-length: [countchars][content][/CountChars][unurl]%0D >> %0A[/UnURL][!]>> [/!][unurl]%0D%0A[/UnURL][!]>> [/!][content][unurl]%0D%0A[/UnURL][!]>> [/!][/TCPSend]>> [/tcpconnect][/middle][/text]>>>>>> Then use something like this below for testing:>> *** TESTING ****
>> [input][xml_result][/input]
>>
>>>>>>>> Donovan>>>>>>>> -- >> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>> DONOVAN D. BROOKE EUCA Design Center>>>> <- Web Development (specializing in eCommerce),->>> <- Desktop Publishing, Print Consulting, Labels ->>> <- Glass Blowing, and Art Glass ->>>>> PH/FAX:> 1 (608) 770-3822>> Web:> http://www.egg.bz | http://www.euca.us>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>>>> ------------------------------------------------------------->> 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/-------------------------------------------------------------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/
Stuart Tremain
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:
[WebDNA] Dates (2009)
where to put code (1998)
Math inside [showif] (1998)
WebCat2 - many [carts] on one template page? (1997)
[WebDNA] TCPConnect Help (2014)
[lineitems] and [writefile] (1998)
# of real domains on 1 web server (1997)
A question on sub-categories (1997)
New Site Announcement (1998)
WebCat cannot handle compatible search parameters? (1997)
[shipTotal] or [shippingTotal] ??? (1998)
Show if time tags (1997)
Emailer help....! (1997)
Re2: Calculating multiple shipping... (1997)
Virtual hosting and webcatNT (1997)
listfiles, moving files (1998)
Server problem? (1998)
Summing a field full of numbers ... (1997)
locking variables? (2000)
Draft Manual, Tutorial, and more (1997)