How do I use axios to submit wav streams to wit.ai post/speech in vue+cli?

how to submit wav data using binary submission method in vue+cli?
this is the first time I"ve seen this submission method. How do you write it in axios?
blob: http://localhost:8080/40570440-1402-4cd6-ac86-98aca0be75f8 this is the wav returned from my recording. I don"t know how to submit it with binary.

clipboard.png
this picture is the required format of the wit.ai post/speech request, but I really don"t know how to write the request

May.15,2022

convert to blob and then submit


The example on the

website is as follows. You can try

.
  recorderx author  asked questions and finally solved my problem. Thank him very much 

Menu