I have a form with enctype = "multipart / form-data"
. I need to send it to the REST API for uploading. The server is using Django and piston. Advise me how best to do this please. As of JavaScript (backbone) to serialize it into JSON with the file. Or is this not possible? Maybe I need to separately upload files, get their ID and then send them via REST only?
Asked
Active
Viewed 1,132 times
0
-
2The jQuery AJAX methods do not support file uploads. http://stackoverflow.com/questions/2320069/jquery-ajax-file-upload – CoderMD666 Nov 17 '11 at 18:17