"; echo htmlspecialchars($client->request()->getBody()); echo '
'; // 2nd test, call to service using Zend_Rest_Client require_once ('Zend/Rest/Client.php'); $rest = new Zend_Rest_Client($server); // Should parrot the input string, but it fails echo "Result using Zend_Rest_Client:
"; echo $rest->parrot('This is my string')->get();