I would like to send audio file the same way POSTMAN binary request does it: When I use postman to send audio file to my server, it returns a good response...
But when I tried to send it from my mobile app with the same audio file, I don't have any response... Here is my code:
const requestOptions = {
method: 'PUT',
headers: myHeaders,
body: "file:///"
};
fetch("http://...", requestOptions)
.then(response => response.json())
.then(result => console.log(result))
.catch(error => console.log('error', error));
I really need your help... I'm on this since several days...