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:

    
  1. Re: US Postal Service API ( Stuart Tremain 2007)
  2. Re: US Postal Service API ( Donovan Brooke 2007)
  3. Re: US Postal Service API ( Stuart Tremain 2007)
  4. Re: US Postal Service API ( Stuart Tremain 2007)
  5. Re: US Postal Service API ( Donovan Brooke 2007)
  6. Re: US Postal Service API ( Stuart Tremain 2007)
  7. Re: US Postal Service API ( Stuart Tremain 2007)
  8. Re: US Postal Service API ( Donovan Brooke 2007)
  9. Re: US Postal Service API ( Stuart Tremain 2007)
  10. Re: US Postal Service API ( Stuart Tremain 2007)
  11. Re: US Postal Service API ( Donovan Brooke 2007)
  12. Re: US Postal Service API ( Stuart Tremain 2007)
  13. Re: US Postal Service API ( Donovan Brooke 2007)
  14. US Postal Service API ( Stuart Tremain 2007)
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:

Re:Help name our technology! (1997) Have no fear of WebCatalog Builder..... (2000) Summarizing on two fields (1998) Applescript error (1998) Emailer Set Up (1997) WebSTAR, OSX, WebDNA permissions problem ... (2005) denied access (1997) about this server and links to who (1997) RE: Can't get appendfile to work (1997) Question about replacing words (1998) [WebDNA] unsubscribe (2008) Setting up shop (1997) default error on NT? (1997) WC Database Format (1997) writing checkboxes to a database (2000) Major bug report on rootbeer (1997) Group Updates (1998) GuestBook example (1997) shoppingcart reload qty (1997) space (2002)