Microphone component - Base64 data for file

I got it to work with the following configuration. Note that I constructed the multipart body manually and, importantly, specified the audio codecs in the Content-Type header.

The most annoying part was parsing the data URL to isolate the base64 data, which I did in query2.

Hopefully that helps and isn't overly complicated!

2 Likes