Provide support for binary/file field handling
andremolnar - July 11, 2008 - 18:02
| Project: | JSON server |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Sometimes services want to provide a file upload method - but currently the json server doesn't have any means of checking for items in the $_FILES superglobal.
Attached is a patch that would check for method arguments defined as #type => 'binary' by the service - and then look for the matching argument in the $_FILES superglobal.
andre
| Attachment | Size |
|---|---|
| json_server.patch | 1.21 KB |
