cakephp-rest
cakephp-rest copied to clipboard
CakePHP REST Plugin - Easily build REST API endpoints in your CakePHP application.
hi! I think this part: class AppController extends BaseController BaseController should be taken from use Cake\Controller\Controller as BaseController; not from use App\Controller\AppController as BaseController; As App\Controller\AppController may have logic which...
Pass status code manually
When debug is false and i throw exception it renders html error instead of json with status NOK and exception message, What am I missed?
I am using Cake PHP 3.4.2 and install this plugin using this command composer require sprintcube/cakephp-rest Then I followed this simple tutorial https://www.codementor.io/@narendravaghela/building-rest-apis-using-cakephp-3-x-k9br8qo2a But got the error code Call to...
I would like you to consider integrating this pull request to your project Now it allows to send a result without the name of the variable that is used when...
Hi, Firstly, thanks for your work ! I installed your plugin, I am working with CakePHP 3.7. The problem is that I can't acceed to my page to add an...
Hi, i'm trying to get a serialized result to ommit the name or variable on result. How can i get the same result like using the $this->set('_serialize', 'varname'); in this...