Fix for Symfony Rest API

When using symfony 2 as api server, the parameters were empty.