jeudi 20 mars 2014

formHandler restriction

As i can see, if I configure API method as formHandler - I can use this method call only to submit forms, and vice versa, if method isn't configured as formHandler - I can't use it in forms.



What is this restriction for?



Now, I need to configure two methods on server side with the same functionality, one for forms and one for JSON requests, instead of have one universal method, that can retrieve params from JSON or multipart-form-data according to Content-Type.



Or i missed something?




Aucun commentaire:

Enregistrer un commentaire