/blog/2015/04/how-to-build-a-cakephp-3-rest-api-in-minutes/ #153
Replies: 13 comments 10 replies
-
|
Guima Ferreira [DISQUS]: To add the CRUD Plugin for CakePHP 3 use: |
Beta Was this translation helpful? Give feedback.
-
|
Sam Bown [DISQUS]: This is the best tutorial ever. |
Beta Was this translation helpful? Give feedback.
-
|
Leonardo Borba [DISQUS]: Great tutorial!!! Congrats! My app only works when I use the follow lines on routes.php without I don't know why, but works! ;) |
Beta Was this translation helpful? Give feedback.
-
|
Coca Akat [DISQUS]: I want to custom the default structure of REST format of index, view, edit, add and delete, to another method like register, login, .... so when I request |
Beta Was this translation helpful? Give feedback.
-
|
BigPresence [DISQUS]: Really Great blog series. I was having an issue where I was passing the Authorization token in the header but stil getting a 401 Unauthorized access on a MAMP server. I noticed the Authorization header wasn't being accepted by the server so I opened the root .htaccess file and added and all works great now |
Beta Was this translation helpful? Give feedback.
-
|
gieart [DISQUS]: Great post! have you tried it with elasticsearch ? I had a problem about pagination in elastic . |
Beta Was this translation helpful? Give feedback.
-
|
Ashish Patel [DISQUS]: Hello Guys , I just created the github repository with given instruction in this page. please find the below link to download the code. https://github.com/ashishonmobile/cakerest I will also commit the next page tutorial in soon. |
Beta Was this translation helpful? Give feedback.
-
SOLVEDNotes: I have to parse like "2016-05-21" PROBLEMIs there anyone who can help for bellow issue. I have one table called test. it has id and date_time (myql date format) I am using crud Plugin. so I can get the data from url like Request (GET) : But When I try to post data Request (POST) : Response : Can any one help me ? Regards, |
Beta Was this translation helpful? Give feedback.
-
|
user3188777 [DISQUS]: I can't get the source code in this tutorial to work on my LAMP stack. I see there are other people giving compliments about the tutorial. So I assume that someone got it to work. Regardless of whether I follow the directions step by step or download the source code from GitHub and place it into my |
Beta Was this translation helpful? Give feedback.
-
|
Brian Strasburg [DISQUS]: Do you happen to know how I can tie into the index function. For instance I only want admins to see the list of users. Then for a customer they can only see a list of thier own items. I know how to do it normally but not sure how using the REST API. If I create an index function I keep getting a code 500. |
Beta Was this translation helpful? Give feedback.
-
|
mukesh kumar [DISQUS]: hello bravo its nice tutorial but i want to know how i can use another action along with crud actions like (latest_user, user_profile....etc). thnks :) |
Beta Was this translation helpful? Give feedback.
-
|
Rodrigo Chávez [DISQUS]: For the cakebox download Vargant 1.9.6 version. |
Beta Was this translation helpful? Give feedback.
-
|
Ady Gould [DISQUS]: The tute is an easy read. Thank you. Have you looked at how CakePHP 3.6 has affected the tute? I've not been able to get the Crud to load correctly. the Trait is giving an error. If you have time would appreciate guidance. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How to build a CakePHP 3 REST API in minutes
https://www.bravo-kernel.com/blog/2015/04/how-to-build-a-cakephp-3-rest-api-in-minutes/
Beta Was this translation helpful? Give feedback.
All reactions