upload bloob javascript

Solutions on MaxInterview for upload bloob javascript by the best coders in the world

showing results for - "upload bloob javascript"
Maiwenn
24 Mar 2017
1var fd = new FormData();
2fd.append('fname', 'test.wav');
3fd.append('data', soundBlob);
4$.ajax({
5    type: 'POST',
6    url: '/upload.php',
7    data: fd,
8    processData: false,
9    contentType: false
10}).done(function(data) {
11       console.log(data);
12});
13