Wrong variable 22/head
authorYvan <yvan@dugwood.com>
Wed, 25 May 2016 16:34:22 +0000 (18:34 +0200)
committerYvan <yvan@dugwood.com>
Wed, 25 May 2016 16:34:22 +0000 (18:34 +0200)
Should be $response instead of $rec.

README.md

index 9165c9b..c6d99c1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -122,5 +122,5 @@ Retrieving Prediction Result
 $engineClient = new EngineClient('http://localhost:8000');
 $response = $engineClient->sendQuery(array('uid'=>7, 'iids'=>array(1,2,3,4,5)));
 
-print_r($rec);
+print_r($response);
 ```