Help with broken audio api response

Hi everyone, I just realized that every time we use an api where the answer is an audio file we always get this (in xano) :

and this (inweweb) :

And I know that to overcome this problem on xano you have to use the function below:

This would correct the problem and save the raw file as an audio file, but the problem here is that I want to do some testing and I don’t have a paid plan yet on xano.

So my question is this: is there a way to do this for free on weweb? I’ve tested with some javascript code but it doesn’t work, so if anyone has a solution, this will be very helpfull ! Because it’s very frustrating, on all the api that should give an audio file in response we have unusable raw data…

Okay just found the solution ! You just need to use a upload file api and you will get the link.mp3 of the raw data in the response.

1 Like

Would you mind sharing your solution please? I’m sure it would help a lot of people! I’m very curious too :slight_smile:

1 Like

No worries! Then there are 2 solutions:

Either use xano’s “create audio metadata”, but this is only available for paying accounts.
image

Or use an external api like this one: BasicUpload | Documentation

As a result, you’ll get an .mp3 link :slight_smile:
image

1 Like