Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: How to: Use LWP / HTTP::Request:Simple; TO->>>>>>

by Sinistral (Prior)
on Jan 08, 2013 at 14:46 UTC ( #1012244=note: print w/replies, xml ) Need Help??

in reply to How to: Use LWP / HTTP::Request:Simple; TO->>>>>>

Other Monks will no doubt be able to help with an LWP style solution to send form information to the USPS site, but I wanted to point out that there is another option than simply sending and scraping HTML. The USPS has APIs available that would no doubt be a less fragile solution than relying on the formatting of the public facing USPS web site. You want to visit:

  1. The USPS Web Tools Registration Page to get a developer id
  2. The Permission Request Form for USPS Web Tools to get authorization and information on using the APIs
  • Comment on Re: How to: Use LWP / HTTP::Request:Simple; TO->>>>>>

Replies are listed 'Best First'.
Re^2: How to: Use LWP / HTTP::Request:Simple; TO->>>>>>
by ProgrammerJutsu on Jan 08, 2013 at 20:23 UTC

    I was able to work with the senior programmer at work today and got a working example of the HTTP post and request function and explanation.
    I still need to work on my Regular expression, and split and save function for the txt data.

    Post if you can help with taking address information from a TXT database and converting it onto a array of hash values

    My attempt at it is above but its not working.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012244]
[Discipulus]: yes you know.. happy birthday.. happy birthday..
[jedikaiti]: ahhhh
[jedikaiti]: Never heard it referred to that way
[jedikaiti]: Happy Birthday to him!
[Discipulus]: ah! how do you say in english? .. i was sure..
[Discipulus]: ah turned

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2018-01-18 20:34 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (214 votes). Check out past polls.