#!/usr/bin/perl -w use strict; use Frontier::Client; my $server_url = 'http://vendorserver.com/service.php'; my $server = Frontier::Client->new('url' => $server_url, 'encoding' => 'ISO-8859-1', 'debug' => 0); my @params = { 'tot-bed-lo' => '1', 'page' => '1', 'state' => 'ut', 'city' => 'Somecity', 'report-type' => 'long', 'method' => 'searchres', 'price-hi' => '950000', 'home-type' => [ '1' ], 'price-lo' => '100000', 'sort-by' => 'price asc', 'zip' => [ '55555', '55554' ], 'dev-tag' => '12345', 'report-struct' => 'all', 'tot-bath-lo' => '1' } ; my $result = $server->call('searchres', @params); use Data::Dumper; print Dumper(\$result); #### request ---- searchres home-type 1 price-lo100000 page1 tot-bed-lo1 sort-byprice asc stateut zip 5555555554 citySomecity dev-tag12345 report-typelong report-structall methodsearchres tot-bath-lo1 price-hi950000 ---- response ----
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /web/xml/include/helper.inc on line 242
... (a bunch of these warnings, that's from their server) ...
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /web/xml/include/helper.inc on line 242

Warning: Cannot modify header information - headers already sent by (output started at /web/xml/include/helper.inc:242) in /web/xml/htdocs/service.php on line 71
327 1 33 0.272385