Hi guys and gals!
Been scratching my head about this for a week now and still don't have a solution.
I am making a form post to a web service using the following:
my $userAgent = new LWP::UserAgent;
$userAgent -> timeout([10]);
$response = $userAgent -> post($uri,
[
Username...
I am connecting to an SSL server, essentially i am using the Crypt::SSLeay module. The module does all the work for me, checks the servers certificate etc.
Although i dont need a certificate to access the server I know i can provide one, presumeably so the server can authenticate me? under what...
I am playing about with forms and trying to receive some form data from a form post. Im getting no errors but im getting nothin output. Here is the HTML:
<form method="post" action="EsendexAccountEventHandler.pl">
<input type="hidden" name="value1" value="test1">
<input type="hidden"...
Trying to place occurances of + with ' ' (a space) from a string, and %3a with : from another string like so:
$four =~ s/"+"/ /;
$five =~ s/"%3a"/:/;
This doesn't do anything :(
Any ideas?
Trying to add hashes to array then loop through and print them off. To add each hash to the array i am using:
push (@messages,
{
messageID => $1,
originator => $2,
recipient => $3,
body => $4,
receivedAt => $5,
type => $6
});
To print the contents i am using:
my...
I am being returned some data that looks like:
Set-Cookie: ASP.NET_SessionId=bir2jo45j0jev355wqdp0xed; path=/
X-AspNet-Version: 1.1.4322
X-Powered-By: ASP.NET
Result=OK
MessageIDs=f89fcc9b-b7ba-44a8-bebe-785302b6f136
The bit i am interested in is the Result and messageIDs lines. I can...
I have created an instance of SendServiceTest in my Main perl app and then call a method of SendServiceTest on the object like so:
my $message = new SendServiceTest
(
$username,
$password,
$account
);
$message -> sendMessageTest($uri, $recipient, $originator, $body, $type, $validityPeriod)...
Successfully able to perform a form post using my code below. But now i need to connect to a secure webserver, however I am guessing that connecting through SSL isn't as simple as changing http -> https!
Can anyone point me in the right direction on how to make an ssl connection, I've installed...
I need to use Form Post interface to integrate SMS functionality into my site. I am accessing an SMS service through another company. All services are accessible using the HTTPS protocol.
Can someone please point me in the right direction for what i need to do for this?
They give tips on how to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.