summaryrefslogtreecommitdiffstats
path: root/pttpi/cgi/t/1.board.getBid.pl
diff options
context:
space:
mode:
Diffstat (limited to 'pttpi/cgi/t/1.board.getBid.pl')
-rw-r--r--pttpi/cgi/t/1.board.getBid.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/pttpi/cgi/t/1.board.getBid.pl b/pttpi/cgi/t/1.board.getBid.pl
new file mode 100644
index 00000000..04be5b89
--- /dev/null
+++ b/pttpi/cgi/t/1.board.getBid.pl
@@ -0,0 +1,11 @@
+#!/usr/bin/perl
+use Frontier::Client;
+use Data::Dumper;
+do 'host.pl';
+
+$brdname = $ARGV[0] || 'SYSOP';
+$server = Frontier::Client->new(url => $server_url);
+$result = $server->call('board.getBid', $brdname);
+
+print "board.getBid($brdname) from $server_url:\n";
+print Dumper($result);