Quote Originally Posted by cbusillo View Post
Hi, I am trying to accomplish the same thing in another application. I have gotten as far as you guys. Is there anyway to generate the TOKEN needed to get to the next page? ultimatly I want to me able to scan an invoice into my application, read the weight from the scale fill in all the click-n-ship info, and select the correct shipping method. anyone got any tips or people inside usps?
Forget about getting any REAL help from inside USPS. They are only concerned with keeping novices off their server. Their documentation states that they have sample code available, but when you ask for it they tell you that you have to write your own code. And get separate permission for every function you want to use.

Qhome said that his approach was a "hack" using a form POST to fill the fields. What you need to do is use an XML API to generate the URL request to the website. There is documentation available on the USPS which shows the form of the call you need to use.

I have been trying to find a good resource to teach myself how to generate the API from the XML info. As far as I can tell it should be very similar to the API used for some of the payment modules. If I can get USPS working I think I can also get Fedex and UPS the same way. We'll see.