Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Example of FormaData for Chrome and Firefox
$.each(dataTransfer.files, function ( i, file ) {
var xhr = new XMLHttpRequest();
var upload = xhr.upload;
var formdata = new FormData();
//formdata.append("session",socket.transport.sessionid);
formdata.append('mycustomfieldforfile', file);
xhr.open("POST", "/post/file");
xhr.send(formdata);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.