Created
May 9, 2016 07:55
-
-
Save anonymous/ccd6ba0934855ec55f2ea405b92ee3ad to your computer and use it in GitHub Desktop.
Revisions
-
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ formData.append(name, value); formData.append(name, value, filename); //https://developer.mozilla.org/en-US/docs/Web/API/FormData/append //The filename reported to the server (a USVString), when a Blob or File is passed as the second parameter. The default filename for Blob objects is "blob". The default filename for File objects is the file's filename.