Upload a file to byte array in MySQL successfully, however the content is not readable when download

I am having a problem when downloading the content after I uploaded the file using FormData in JavaScript XMLHttpRequest and connect to Web API and save it to MySQL DB as LONGBLOB data type. When I …