CakePHP 2.9.1. I’ve followed the cookbook instructions and have set up some json REST endpoints. GETs are fine, but any POST request is being interpreted as GETs too, even though they map to add actions. Any clues?
I sort of solved this. I was testing using Postman but on my localhost. I moved the code to a remote server and it works. So now I need to find out why this is limited on localhost.
The request methods are most likely not enabled in apache config (or other webserver).