7 my $uri = new URI 'http://localhost:8008/';
9 my $server = new Frontier::Client ( 'url' => $uri );
11 my $result = $server->call(
12 'FS.API.insert_credit_phonenum',
13 'secret' => 'sharingiscaring',
14 'phonenum' => '3125550001',
18 '_date' => 1397977200, #UNIX timestamp
21 #die $result->{'error'} if $result->{'error'};
23 print Dumper($result);