Questions tagged [fileapi]

Please utilize this tag for inquiries concerning the W3C File API, which outlines the proper way to represent file objects and access their attributes.

Obtaining a byte array using the file input method

var profileImage = fileInputInByteArray; $.ajax({ url: 'abc.com/', type: 'POST', dataType: 'json', data: { // Other data ProfileImage: profileimage // Other data }, success: { } }) // Code in Web ...