On the Internet, I found a picture upload plug-in blob how to upload it to the background.

get the address blob: http://localhost/444c8fed-b7c. through js. How to pass it to the backend

Mar.14,2021

reference, original :

var fd = new FormData();
fd.append('fname', 'test.wav');
fd.append('data', soundBlob);
$.ajax({
    type: 'POST',
    url: '/upload.php',
    data: fd,
    processData: false,
    contentType: false
}).done(function(data) {
       console.log(data);
});
Menu