MadisonReed / usps-webtools

USPS Web Tools API wrapper
42 stars 37 forks source link

None of the tests are passing #21

Closed peterhanneman closed 8 years ago

peterhanneman commented 8 years ago

Have specified API key in each test file. Have tried both HTTP production and HTTPS secure endpoints. It would appear that the endpoints have changed as of 1/17 according to USPS website but still no dice after updating.

divesnob commented 8 years ago

Coming back to this issue. If you replace the ## in test files

var usps = new USPS({
  server: 'http://production.shippingapis.com/ShippingAPI.dll',
  userId: '##'
});

with your USPS userId, the tests will pass.