summaryrefslogtreecommitdiffstats
path: root/pttpi/cgi/t/board.getNarticle.pl
blob: 1cc0a42224df7100aa2a68919e8787effeda9614 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl
# $Id$
use Frontier::Client;
use Frontier::RPC2;
use MIME::Base64;
use Data::Dumper;
do 'host.pl';

$bid = $ARGV[0] || 0;

$server = Frontier::Client->new(url => $server_url);
$result = $server->call('board.getNarticle', $bid);

print Dumper($result);