Posting audio files using HTTP request node

#1

I have a REST API that is expecting an audio file as request.files['audio_file']. I have msg.payload set to the audio buffer, msg.headers content-type set to audio/*

The request hits the application but it can't find 'audio_file'. How do I specify the filename as part of the POST?

0 Likes