Step 1.
personal account will not work with api, must create a business account
https://cop.usps.com/cop-navigator?wf=API&showCC=false
Step 2.
Step 3.
Step 4.
Step 5.
Step 6.
You will need to add an app to get a client Id and secret. These are the Consumer Key and Consumer Secret values in the API developer portal.
In postman, must use RAW, body like this,
form-data of body not works
Step 7.
There are 2 kind of format of body data,
x-www-form-uurlencoded
https://developers.usps.com/Oauth
Step 8.
is not working, not sure why
Step 9.
json format works
Step 10.
json format works, access token here only valid for 8 hours,
while fresh token valid for 7 days.
Step 11.
authorization_code currently is not working
https://github.com/USPS/api-examples/issues/43
Step 12.
https://developers.usps.com/addressesv3
Step 13.
configure authorization as bearer
copy past token here, token expire in 8 hrs.
Step 14.
Test address is success
Step 15.