Re: [WebDNA] USPS interface

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100185
interpreted = N
texte = I messed with some USPS code not that long ago that had stopped working. I haven't looked at this code here, but the issue with mine was they moved the placement of some of the data returned so my parsing script was not working as expected. Connections to server are working fine (just checked). -- Charles Kline ckline@rightcode.net http://www.rightcode.net On Jul 2, 2008, at 9:44 PM, Larry Goodhew wrote: > Hi All, > > I am trying to access the USPS site to get information and seem to > have hit a roadblock. Here is the code to try a canned lookup per > their documentation and I don't know what to think of the error > message. > > My Code: > [text]crlf=[unurl]%0D%0A[/unurl][/text] > > [text]USPS_Variables=XML=[!] > [/!][!] > [/!]
[!] > [/!][!] > [/!]6406 Ivy Lane Address2>[!] > [/!]Greenbelt[!] > [/!]MD[!] > [/!][!] > [/!][!] > [/!]
[!] > [/!]
[/text] > > > [text]USPS_Return=[TCPConnect host=testing.shippingapis.com&port=80] > [TCPSend]POST /ShippingAPITest.dll?API=Verify[crlf][!] > [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) > [crlf][!] > [/!]Content-Type: application/x-www-form-urlencoded[crlf][!] > [/!]Content-length: [countchars][USPS_Variables][/countchars][crlf][!] > [/!][crlf][!] > [/!][USPS_Variables][crlf][!] > [/!][/TCPSend] > [/TCPConnect] > [/text] > > Got back:
> [USPS_Return] > > What they return: > > HTTP/1.1 501 Not Implemented Server: Microsoft-IIS/5.0 Date: Thu, 03 > Jul 2008 01:40:35 GMT Content-Type: text/html > > NOT IMPLEMENTED > > The server is unable to perform the method API=Verify at this time. > > ---------------------------------------------------- > I have no idea what this is trying to tell me and when I emailed > tech support at USPS they sent me back a form email that said they > didn't provide programming help. > > Anyone else try this yet and get it to work? I am not a pro at > TCPConnect so don't know what to try next. > > Thanks, > > Larry Goodhew > Larry Goodhew Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] USPS interface ("Larry Goodhew" 2008)
  2. Re: [WebDNA] USPS interface (Charles Kline 2008)
  3. Re: [WebDNA] USPS interface (Donovan Brooke 2008)
  4. Re: [WebDNA] USPS interface (Donovan Brooke 2008)
  5. Re: [WebDNA] USPS interface (Stuart Tremain 2008)
  6. [WebDNA] USPS interface ("Larry Goodhew" 2008)
I messed with some USPS code not that long ago that had stopped working. I haven't looked at this code here, but the issue with mine was they moved the placement of some of the data returned so my parsing script was not working as expected. Connections to server are working fine (just checked). -- Charles Kline ckline@rightcode.net http://www.rightcode.net On Jul 2, 2008, at 9:44 PM, Larry Goodhew wrote: > Hi All, > > I am trying to access the USPS site to get information and seem to > have hit a roadblock. Here is the code to try a canned lookup per > their documentation and I don't know what to think of the error > message. > > My Code: > [text]crlf=[unurl]%0D%0A[/unurl][/text] > > [text]USPS_Variables=XML=[!] > [/!][!] > [/!]
[!] > [/!][!] > [/!]6406 Ivy Lane Address2>[!] > [/!]Greenbelt[!] > [/!]MD[!] > [/!][!] > [/!][!] > [/!]
[!] > [/!]
[/text] > > > [text]USPS_Return=[TCPConnect host=testing.shippingapis.com&port=80] > [tcpsend]POST /ShippingAPITest.dll?API=Verify[crlf][!] > [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) > [crlf][!] > [/!]Content-Type: application/x-www-form-urlencoded[crlf][!] > [/!]Content-length: [countchars][USPS_Variables][/countchars][crlf][!] > [/!][crlf][!] > [/!][USPS_Variables][crlf][!] > [/!][/TCPSend] > [/TCPConnect] > [/text] > > Got back:
> [USPS_Return] > > What they return: > > HTTP/1.1 501 Not Implemented Server: Microsoft-IIS/5.0 Date: Thu, 03 > Jul 2008 01:40:35 GMT Content-Type: text/html > > NOT IMPLEMENTED > > The server is unable to perform the method API=Verify at this time. > > ---------------------------------------------------- > I have no idea what this is trying to tell me and when I emailed > tech support at USPS they sent me back a form email that said they > didn't provide programming help. > > Anyone else try this yet and get it to work? I am not a pro at > TCPConnect so don't know what to try next. > > Thanks, > > Larry Goodhew > Larry Goodhew Charles Kline

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:

Special delete ... (1997) [WebDNA] WebDNA Roll Call (2013) WebCat2 beta 11 - new prefs ... (1997) Running _every_ page through WebCat-error.html (1997) [WebDNA] maybe silly suggestion? [founditems] (2015) Non-Cart Files in Shopping Cart Folder (1997) [WebDNA] Enhancements to "list" contexts ... (2015) Re:Searching for ALL / empty form field *the FINAL answer* (1997) E-mail loop ! (1997) authorizenet and netscape (2002) WebCatalog2 for NT Beta Request (1997) All of a Sudden Type 2 errors (1999) [WriteFile] problems (1997) Press Release hit the NewsWire!!! (1997) Friendly , quick 'security' check, please (2003) [format xs] freeze (1997) template includes encrypted template (1999) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) PCS Frames (1997) Sending HTML messages with [sendmail] (2002)