Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
json_server.patch | 1.21 KB | andremolnar |
Comments
Comment #1
skyredwang