Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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]
[Corion]: I guess I should stage some product photos for Sane Dots Supplies ;)
[marto]: I had some ideas about that Corion
[marto]: I'll send a message over the weekend maybe :P
[Corion]: choroba: I avoided the "fun" of emergency shopping for a new flat iron by trying the flat iron without the timer that sat between it and the mains power. Seems as if just the timer is broken.
[Corion]: marto: Heh, would be cool!
Corion munches on the traditional German winter fruit, strawberries. Imported from Spain at the price of EUR 0.77 per 150g - not really cheap but surprisingly good for a winter produce

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-01-20 10:21 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (174 votes). Check out past polls.