 +# https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13029
 +# TODO: Need to replace URL manually before above mentioned bug is in master
 +
-+our $URL     = "__REPLACE_WITH_SMS_URL__";
-+our $AGENT   = 'SMS-Send-HTTP/' . $VERSION;
-+our $METHOD  = 'POST';
-+our $TIMEOUT = 3;
++our $URL      = "__REPLACE_WITH_SMS_URL__";
++our $CLIENTID = "testserver";
++our $AGENT    = 'SMS-Send-HTTP/' . $VERSION;
++our $METHOD   = 'POST';
++our $TIMEOUT  = 3;
 +
 +#####################################################################
 +# Constructor

+  my %args = @_;
+
+  # Create the object
+  my $url   = $args{'_url'}     || $URL; #Carp::croak("Need _url param: The URL to the SMS API");
+  my $agent = $args{'_agent'}   || $AGENT;
+  my $timeout = $args{'_timeout'} || $TIMEOUT;
+  my $self = bless {
+    'url'      => $url,
+    'agent'    => $agent,
+    'timeout'  => $timeout
+  }, $class;
+
+  return $self;

+     POST $self->{url},
+     Content_Type  => 'application/x-www-form-urlencoded',
+     Content       => [ 'to' => $params{to},
+                        'text' => $params{text},
+                        'clientId' => $params{clientId} ]
+  );
+  my $res = $ua->request($req);
+
