Description
Q&A (please complete the following information)
- OS: macOS
- Browser: Chrome
- Version: [e.g. 22]
- Method of installation: npm
- Swagger-UI version: 4.15.5
- Swagger/OpenAPI version: OpenAPI 3.0
Describe the bug you're encountering
Audio returned by the POST endpoint is not playable, audio element has src attribute set to the audio endpoint (see screenshot), but this is a POST request, not GET, so error is returned to the element.
To reproduce...
Steps to reproduce the behavior:
- Create an endpoint that returns audio data on the POST request.
- Try the endpoint in Swagger-UI, you will see non-functional audio element grayed out.
You can try it yourself at https://api.elevenlabs.io/docs
Expected behavior
Audio returned by the POST endpoint is playable. The returned data can for example be instead stored as blob and the blob url should be a provided as src attribute to the audio element instead.
Screenshots
Metadata
Metadata
Assignees
Labels
No labels