im totally confused right now, because i want to build up an api, but cake has a bit of a weird behaviour:
If i want to send a POST-request to let's say "/controller", it gets redirected to "/controller/index" ("index" method of "controller"), which is quite what i did expect. But, instead of a POST-request, i get a GET-request there.
(for example, i output $this->request->method(), which prints out the method of the request)
Someone who came across that before? I tried routing the "/controller" to "/controller/index" in routes.php under "Config", but that didn't work as well.
Many thanks,
Fabi.