Search code examples
jsonsymfonyfosrestbundle

NelmioApiDoc Bad Request 400 with RestApi


The Nelmio is working perfectly in my project but I get an error 400 Bad Request

when I want to insert a date in my Nelmio !!400 Bad Request here

The type used is Date.


Solution

  • I guess that all the transaction details are not needed as parameters which have to be defined in the URL of you request.

    In case of being data, you will have to specify it like this {"transaction":{}} in the content box on you right.