Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2018-04-22 00:45 GMT
Find Nodes?
    Voting Booth?