I'm creating a simple REST API
for uploading files. From other API's I found they use "multipart/form-data
" content type. But for me, it looks like "application/octet-stream
" is much simpler.
If I don't intend to send any more form data with the file is there any reason to use "multipart/form-data
" and not "application/octet-stream
" ?