Provider/AllMySmsProvider.php
public function getResponse($recipient, $message)
    {
        $message = json_encode(array(
            'message' => urlencode($message),
            'sms' => array($recipient)
        ));

        $fields = array(
            'clientcode'    => urlencode($this->login),
            'passcode'      => urlencode($this->password),
            'smsData'       => urlencode($message),
        );

        $fieldsString = '';

        foreach($fields as $key => $value) {
            $fieldsString .= $key.'='.$value.'&';
        }

        rtrim($fieldsString, '&');

        $response = $this->httpClient->post('http://api.msinnovations.com/http/sendSms_v8.php', array(
            'body' => $fieldsString
        ));

        return $response->json();
    }
public function getResponse($recipient, $message)
    {
        $message = json_encode(array(
            'message' => urlencode($message),
            'sms' => array($recipient)
        ));

        $fields = array(
            'clientcode'    => urlencode($this->login),
            'passcode'      => urlencode($this->password),
            'smsData'       => urlencode($message),
        );

        $fieldsString = '';

        foreach($fields as $key => $value) {
            $fieldsString .= $key.'='.$value.'&';
        }

        rtrim($fieldsString, '&');

        $response = $this->httpClient->post('http://api.msinnovations.com/http/sendSms_v8.php', array(
            'body' => $fieldsString
        ));

        return $response->json();
    }
Will perform the message send. Will return anyhow an array with the response

@param string $recipient
@param string $message

@return array