Greetings,
I am very new to Kannel and PERL.
I would like to send SMS to the Kannel server using a perl script using
LWP::UserAgent and HTTP::Request. I could succeed to send the SMS using the GET
message as follows:-
$response = $ua->request(HTTP::Request->new('GET',
"http://hostname:13013/cgi-bin/sendsms?username=user&password=pass&to=$phone&text=$text",
HTTP::Headers->new(Content_Type => "text/xml")));
But I would like to send a POST message but couldn't succeed in passing proper
values to the content. Can someone help in writing the content part of the POST
message.
Thanks in advance.
regards,
sridhar
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.