Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Using forms with submit method #23

Open
pdoreau opened this issue Aug 14, 2017 · 1 comment
Open

Using forms with submit method #23

pdoreau opened this issue Aug 14, 2017 · 1 comment

Comments

@pdoreau
Copy link

pdoreau commented Aug 14, 2017

Working on a REST API, I use to call the form submit method because it allows to rely on json body rather than POST parameters.
However, In SymfonyFormRequest, handleRequest method is called which is fine for POST parameters.
How is relying on request body possible ?

@UFOMelkor
Copy link
Contributor

Perhaps the listeners of the FosRestBundle might be suitable for you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants