Answer the question
In order to leave comments, you need to log in
How to get passed data by PUT/PATCH/DELETE methods in kohana 3?
Good afternoon!
I am developing the client side on backbone.js, there is CRUD, and it sends PUT / PATCH and DELETE requests, but kohana can only accept GET / POST ->query() / ->post()
"in haste" I receive data passed by methods PUT/PATCH and DELETE via
<?php<br>
$data = file_get_contents('php://input'), <br>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question