Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
use strict;
use warnings;
use LWP::UserAgent;
my $ua = LWP::UserAgent->new();
[red]undef $/;
open FILE, "yourXMLfile.xml";
my $data_to_send = <FILE>;
close FILE;
[/red]
print "Sending :\n$data_to_send\n";
my $response = $ua->request(HTTP::Request->new('GET', '[URL unfurl="true"]http://your/web/server/for/uploading/',[/URL]
HTTP::Headers->new(Content_Type => "text/xml"), $data_to_send));
print $response->as_string;