I'm using transloadit and sending files with xhr using valumns file uploader.
Files are sent to the server without errors (i checked size and content of request.body.read) but once I do:
response = assembly.submit! (request.body)
An empty file is sent (I checked many times in the assemblies history page).
Thanks for yo开发者_如何学运维u help.
Call request.body.rewind
before using request.body
.
精彩评论