Re: [WebDNA] USPS interface
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100182
interpreted = N
texte = I just tried my USPS and it is not working either ???RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 03/07/2008, at 11:44 AM, 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:
I just tried my USPS and it is not working either ???RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 03/07/2008, at 11:44 AM, 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
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:
Date problems (1997)
Ok here is a question? (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Help returning tracking data from USPS website (2004)
Format Thousands Looks Busted (2000)
WebCat2: Items xx to xx shown, etc. (1997)
WebCat2: multiple currency support (1997)
Sorting by date (1997)
time sort question (2005)
CR's (2003)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Any help gratefully appreciated (2001)
Separate SSL Server (1997)
Searchable WebCat (etc.) Docs ? (1997)
Disappearing Database (1998)
WebCat2.0b15-to many nested [xx] tags (1997)
Re:Navigator 4.01 (1997)
Error handling for accountNum (1997)
Re1000001: Setting up shop (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)