0

For a project I have to record audio on the browser over JavaScript, send this Audiofile to a Java Program on the server on which the page is loaded and work with it there.

So far I managed to create the blob with the type of .wav and (for testing) download it on the browser directly.

How can I transfer the blob file to the Java Servlet? I also tested around with URL-Objects but without any success.

mplungjan
  • 169,008
  • 28
  • 173
  • 236
Sumbuble
  • 1
  • 2
  • 1
    So post the data to the server – epascarello Mar 23 '18 at 17:29
  • Welcome to Stack Overflow! Please visit the [help] to see what and [ask]. HINT: Post effort and CODE. We do not want to wait for a week. DELETE your question and ask when you have code – mplungjan Mar 23 '18 at 17:30
  • I'm not an expert on JavaScript but here's one way you might send data: https://www.w3schools.com/xml/ajax_xmlhttprequest_send.asp – markspace Mar 23 '18 at 17:32
  • Thanks! I didn't find those already existing question somehow. But that's helping a lot! – Sumbuble Mar 23 '18 at 17:48

0 Answers0