{
"carrier": "USPS",
"action": "AddressValidate",
"params": {
"username": "YOURUSERNAME",
"to_code": "92101",
"test": true
}
}
<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
'carrier' => 'USPS',
'action' => 'AddressValidate',
'params' =>
array (
'username' => 'YOURUSERNAME',
'to_code' => '92101',
'test' => true,
),
)
);
rs.request(
{'action': 'AddressValidate',
'carrier': 'USPS',
'params': {'test': True, 'to_code': '92101', 'username': 'YOURUSERNAME'}}
)
rs.request(
{"carrier"=>"USPS",
"action"=>"AddressValidate",
"params"=>{"username"=>"YOURUSERNAME", "to_code"=>"92101", "test"=>true}}
)
rocketshipit.request(
{
"carrier": "USPS",
"action": "AddressValidate",
"params": {
"username": "YOURUSERNAME",
"to_code": "92101",
"test": true
}
}
)