Skip to content

Instantly share code, notes, and snippets.

View paali's full-sized avatar

Pauli Heikkinen paali

  • Oulu, Finland
View GitHub Profile
@paali
paali / gist:7e2dc8c00a2d989e0298
Created November 12, 2015 09:41
Using symfony exception handler test routes with fos rest body converter enabled
[1] Symfony\Component\HttpKernel\Exception\UnsupportedMediaTypeHttpException: The format "" is not supported for deserialization.
at n/a
in /tmp/vagrant-cache/vendor/friendsofsymfony/rest-bundle/FOS/RestBundle/Request/AbstractRequestBodyParamConverter.php line 121
at FOS\RestBundle\Request\AbstractRequestBodyParamConverter->execute(object(Request), object(ParamConverter))
in /tmp/vagrant-cache/vendor/friendsofsymfony/rest-bundle/FOS/RestBundle/Request/RequestBodyParamConverter.php line 27
at FOS\RestBundle\Request\RequestBodyParamConverter->apply(object(Request), object(ParamConverter))
in /tmp/vagrant-cache/cache/dev/classes.php line 7410