Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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->>>>>>
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.

    Thanks,
    ProgrammerJutsu

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012244]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-07-30 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (230 votes), past polls