{
"carrier": "UPS",
"action": "FindLocations",
"params": {
"request_option": "64",
"ship_city": "Atlanta",
"ship_state": "GA",
"ship_code": "85281",
"ship_code_extended": "4510",
"ship_country": "US",
"test": true
}
}
<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
'carrier' => 'UPS',
'action' => 'FindLocations',
'params' =>
array (
'request_option' => '64',
'ship_city' => 'Atlanta',
'ship_state' => 'GA',
'ship_code' => '85281',
'ship_code_extended' => '4510',
'ship_country' => 'US',
'test' => true,
),
)
);
rs.request(
{'action': 'FindLocations',
'carrier': 'UPS',
'params': {'request_option': '64',
'ship_city': 'Atlanta',
'ship_code': '85281',
'ship_code_extended': '4510',
'ship_country': 'US',
'ship_state': 'GA',
'test': True}}
)
rs.request(
{"carrier"=>"UPS",
"action"=>"FindLocations",
"params"=>
{"request_option"=>"64",
"ship_city"=>"Atlanta",
"ship_state"=>"GA",
"ship_code"=>"85281",
"ship_code_extended"=>"4510",
"ship_country"=>"US",
"test"=>true}}
)
rocketshipit.request(
{
"carrier": "UPS",
"action": "FindLocations",
"params": {
"request_option": "64",
"ship_city": "Atlanta",
"ship_state": "GA",
"ship_code": "85281",
"ship_code_extended": "4510",
"ship_country": "US",
"test": true
}
}
)