You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 10, 2021. It is now read-only.
It seems that you are not parsing post parameters in delete.
The solution I found is the following:
in:
protected function _parse_delete(){
parse_str(file_get_contents('php://input'), $this->_delete_args);
}
change for :
protected function _parse_delete(){
if ($this->request->format)
{
$this->request->body = file_get_contents('php://input');
}
else
{
parse_str(file_get_contents('php://input'), $this->_delete_args);
}
}
It seems that you are not parsing post parameters in delete.
The solution I found is the following:
in:
protected function _parse_delete(){
parse_str(file_get_contents('php://input'), $this->_delete_args);
}
change for :
protected function _parse_delete(){
if ($this->request->format)
{
$this->request->body = file_get_contents('php://input');
}
else
{
parse_str(file_get_contents('php://input'), $this->_delete_args);
}
}
I think that this solves the problem.
Thanks for the library.