Code:400 0 bytes needs atleast 100 bytes

I’m running my first request to read a wav file. My wav file is 145KB but it says it’s 0. This is the code & error I’m receiving. I’m new at this so please explain how I can fix this:
curl –user 5f11ce02-1330-4a2a-8947-29eb573d478:1usKCnmGpDsW -X POST -H “Content-Type: audio/wav” –header “Transfer-Encoding: chunked” –data-binary @audio/audio_001.wav “”

Error:Warning: Couldn’t read data from file “audio/audio_001.wav”, this makes an
Warning: empty POST.
“code_description”: “Bad Request”,
“code”: 400,
“error”: “Stream was 0 bytes but needs to be at least 100 bytes.”


Leave a Reply