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 errorexception 'HttpInvalidParamException' with message 'Empty or too short HTTP message: '.'' in C:\wamp\www\tests1.php:5 Stack trace: #0 C:\wamp\www\tests1.php(5): HttpRequest->send() #1 {main}Advise what could be the problem.PHP Code:<?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;
}
?>



Reply With Quote



Bookmarks