PUT/POST Request problem

I am trying to use PUT and POST request to update exiting items and to create new items, however i come across with '"message":"Route id is not defined"' error.


This can be 'fixed' by changing the line 469 in application/libraries/Zend/Controller/Router/Rewrite.php

$route = $this->getRoute($name);
should be
$route = $this->getRoute('default');

Although this is probably an issue with the server configuration, so there might be a better solution.