I followed this tutorial https://docs.phalcon.io/en/latest/reference/tutorial-rest.html,
I copy paste exactly the same code. I succeed to get the list of robots I have installed Xamp PHP 5.6
But in i try to add a robot using curl i have the followgin error message: curl.exe -i -X POST -d '{"name":"C-3PO","type":"droid","year":1977}' https://localhost/sample/api/robots <br /> <b>Notice</b>: Trying to get property of non-object in <b>D:\Sources\xampp\htdocs\mailman\index.php</b> on line <b>118</b><br /> <br /> <b>Notice</b>: Trying to get property of non-object in <b>D:\Sources\xampp\htdocs\mailman\index.php</b> on line <b>119</b><br /> <br /> <b>Notice</b>: Trying to get property of non-object in <b>D:\Sources\xampp\htdocs\mailman\index.php</b> on line <b>120</b><br /> <br /> <b>Fatal error</b>: Class 'Response' not found in <b>D:\Sources\xampp\htdocs\mailman\index.php</b> on line <b>124</b><br />
And when I try to update an existing robot, i have the followgin error message: curl.exe -i -X PUT -d '{"name":"ASIMO","type":"humanoid","year":2000}' https://localhost/sample/api/robots/2 <br /> <b>Notice</b>: Trying to get property of non-object in <b>D:\Sources\xampp\htdocs\mailman\index.php</b> on line <b>173</b><br /> <br /> <b>Notice</b>: Trying to get property of non-object in <b>D:\Sources\xampp\htdocs\mailman\index.php</b> on line <b>174</b><br /> <br /> <b>Notice</b>: Trying to get property of non-object in <b>D:\Sources\xampp\htdocs\mailman\index.php</b> on line <b>175</b><br /> <br /> <b>Fatal error</b>: Class 'Response' not found in <b>D:\Sources\xampp\htdocs\mailman\index.php</b> on line <b>179</b><br />
Can you help me please?