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: File Uploads (1998) Math with Time (1997) well... (1997) RAM variables (1997) Setting up the server (1997) PCS Frames (1997) Sendmail and attachments? (1998) Web*SSL and WebCatalog (1997) Formatting dates stored in db (2003) WebCatalog Programmer looking for a new job (2001) Encrypted Templates Serving as Text (2000) WebCatalog for Postcards ? (1997) Bug Report, maybe (1997) Bug or syntax error on my part? (1997) $Replace with [founditems] (1997) Caching [include] files ... (1997) [WebDNA] WebDNA & mySQL (2008) cybercash (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) [ShowNext] feature in 2.0 (1997)