Dear Guru
i have a code herebelow (IP changed). when i run a tests on the localhost with the index page, it is working fine but when i requested to a server, it if failing with the following error
exception ‘HttpInvalidParamException’ with message ‘Empty or too short HTTP message: ‘.’’ in C:\wamp\www\ ests1.php:5 Stack trace: #0 C:\wamp\www\ ests1.php(5): HttpRequest->send() #1 {main}
<?php
$r = new HttpRequest('http://192.168.1.10:8090/cbin/cpsmssubscription?KEYWORD=USAGE&MESSAGE=INET&MSISDN=260971578779');
try {
echo $r->send()->getResponseBody();
} catch (HttpException $ex) {
echo $ex;
}
?>
Advise what could be the problem.