Top "Fosrestbundle" questions

A Symfony 2 plugin by FriendsOfSymfony (FOS) which provides various tools to rapidly develop RESTful API's with Symfony 2.

FOSRestBundle setup for return JSON but still asking for Twig template

I have configured FOSRestBundle as following: #FOSRestBundle fos_rest: param_fetcher_listener: true body_listener: true format_listener: rules: - { …

php json symfony fosrestbundle symfony-2.6
FOSRestBundle and JMS Serializer, error when geting JSON

I have been trying out Symfony 2.2, the FOSRest Bundle (using JMS Serializer), and Doctrine ODM using MongoDB. After many hours …

php mongodb symfony doctrine-odm fosrestbundle
FosRestBundle post/put [create new/update entity] does not read Request correctly

long story short: Using FOSRestBundle I'm trying to create some entities via POST call, or modify existing via PUT. here …

symfony post request put fosrestbundle
symfony2 FOSRestBundle annotations

Is anyone used put, get, post, delete annotations(https://github.com/FriendsOfSymfony/FOSRestBundle/blob/master/Controller/Annotations/) in controller. I'm …

symfony fosrestbundle
JMS Serializer: how to use camel case for properties

I'm using FOS Rest bundle and JMS Serializer to create a REST Api. The problem is I would like to …

symfony serialization fosrestbundle jmsserializerbundle
How do you customize exception format with FOSRestBundle and Symfony 2?

I'm using FOSRestBundle with Symfony 2 to implement a REST API in JSON format. I want all API exceptions to be …

json rest symfony exception fosrestbundle
Symfony2 FOSRestBundle PUT Action FORM returns empty results

I am using Symfony 2.2 and the latest version of FOSRestBundle. So I have manage to make most of the actions …

php symfony symfony-forms fosrestbundle
FOSRestBundle configuration of exceptions messages in prod environment

I'm struggling with a problem linked to the FOSRestBundle (version 0.13.*) I have some REST api that throws some exceptions, nothing …

php symfony fosrestbundle
The controller must return a response, array given

I am trying to follow Will Durand's tutorial on how to set up a good REST API with Symfony2. However …

symfony fosrestbundle
Symfony 3 API REST - Try Catch Exceptions to JSON response format

I create the api rest server with Symfony and these bundles FosRestBundle, jms/serializer-bundle, lexik/jwt-authentication-bundle. How can I send …

json symfony exception fosrestbundle symfony-3.2