Hi Experts,
I am very new to RPC and XML
I need to create a site integrated with booking.com xml services for booking hotel,
I have this script file.cgi
#!/usr/bin/perl
use strict;
use Data::Dumper;
use RPC::XML::Client;
#create the client application
my $client = RPC::XML::Client->new(
'
https://name:pass\@distribution-xml.booking.com/xml-rpc', error_handler => sub { die "Transport error: $_[0]" });#print the hotel details for hotel 10 in English
print Dumper $client->simple_request(
'bookings.getHotelDetails'
,
{hotel_id=>10,languagecode
=>'en'}
);
exit;
which is working running with the command perl file.cgi now I want the result in a web page, what should I add to my script to be able to call it from a web page?
thanks
Start Free Trial