You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be honest im not sure if this is an issue that is actually related to PhlyRestfully or if its an issue with Zend\Mvc\Controller\AbstractRestfullController i think it's the later.
But when doing a POST, PUT or PATCH against a resource/collection with a file and proper enctype it should
1, Be available in the data variable
2, Be available in a files variable
i prefer the first in this case since it makes working with forms/inputfilters so much easier.
The text was updated successfully, but these errors were encountered:
As noted in IRC, one suggestion I have is to post files to separate resource end points, and then refer to the file resource in the resource that composes the file. It will be a little less easy for the consumer, but perhaps more manageable server-side.
To be honest im not sure if this is an issue that is actually related to PhlyRestfully or if its an issue with
Zend\Mvc\Controller\AbstractRestfullController
i think it's the later.But when doing a POST, PUT or PATCH against a resource/collection with a file and proper enctype it should
1, Be available in the data variable
2, Be available in a files variable
i prefer the first in this case since it makes working with forms/inputfilters so much easier.
The text was updated successfully, but these errors were encountered: