@gkeith wrote:
I am trying to create a script to upload a file to another service through DreamFactory. I need to send the file to the other service (Python-Eve) using multipart/form-data, but I would like to check parts of the data first. I have created a custom server-side script (PHP), but cannot seem to access any of the data - $event['request']['payload'] is an empty array and $event['request']['content'] is an empty string.
http://community.dreamfactory.com/t/how-to-upload-a-file-using-custom-script/1228 and http://community.dreamfactory.com/t/file-upload-and-custom-script-service/2557 seem to suggest that it isn't possible, is this still the case? It would be really beneficial to be able to upload files to custom scripts
Posts: 1
Participants: 1