Open bizmate opened 10 years ago
I added the formats
ehm seems a CSRF
problem, did you add the ... : http://welcometothebundle.com/symfony2-rest-api-the-best-way-part-3/#disable_csrf_with_rest ?
Very likely i had not set this right as i reached the line executing the test: in http://welcometothebundle.com/symfony2-rest-api-the-best-2013-way/ where i had kind of guessed how to set configuration. I will double check tonight and close the ticket if that is the cause of the problem. I guess i ll do some more basic reading about FOSRest as i still need to get used to how to make it work with some extra features including authentication etc. Thanks
Just to confirm that csrf was already disabled for api role
fos_rest: param_fetcher_listener: true view: view_response_listener: 'force' formats: xml: true json: true templating_formats: html: true format_listener: rules:
Still i get the failures in the AcmeBlogBundle
Tests show these errors
//composer file