Describe the problem/error/question
Hey ya’ll
Trying to post some mp3 files to a Whisper Asr server to do speech to text.
The mp3 files are the easy part, but having issues getting them to post to the webserver
Sending data outside of N8N results in success
curl -X 'POST' \
'http://10.20.20.10:9000/asr?task=transcribe&language=en&encode=true&output=txt' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F 'audio_file=@rec_20230829-135446.mp3;type=audio/mpeg'
But am just a bit lost on how to achieve this using the HTTP node, as the audio file will be different everytime, following the same naming convention though
Please share your workflow
Appreciate any help
Also as a side question, what would be the best way to go about only opening / sending files created in the last hour? have googled a bit but couldn’t find anything that used the file names to identify the time, or a way to ignore already matched mp3’s
Information on your n8n setup
- n8n version: Latest
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**Docker
- **Operating system:**Unraid