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

CommentFileSizeAuthor
json_server.patch1.21 KBandremolnar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

skyredwang’s picture

Status: Needs review » Closed (won't fix)