Pragmatism in the real world

Lorenzo Ferrara: Testing Apigility Code-Connected REST API

Lorenzo Ferrara has posted Testing Apigility Code-Connected REST API

First thing, I’ve installed Apigility following the readme on GitHub, opened the admin interface and clicked on the “Get Started!” button. Things are pretty straightforward: added the new API clicking on the “Create New API” button located in the top-right corner, typed in FortuneCookie and pressed the “Create API”. Next thing, I’ve added the new Code-Connected REST service called OpenCookie. So far so good.

He goes through the creation of a simple Code-Connected REST API by providing the code for a Resource and an Entity class. He also noticed a gotcha where the hydrator wasn’t set up automatically and points out how to update the module.config.php file to add this.

One thought on “Lorenzo Ferrara: Testing Apigility Code-Connected REST API

Comments are closed.