Forum Discussion

hieuln1991's avatar
hieuln1991
New Contributor
8 years ago

how to change Content-type of attached file in REST API

I attached a mp3 file into the request, but the Content-Type is application/octet-stream. But my server side only accepts audio/mp3. How can I change Content-type to send the request with audio/mp3...