The error text returned after post is uploaded to MP3 is {& quot; error & quot;: & quot; invalidmultipartformat: requestContent-Typeisn & #039; tmultipartform-data & quot ;} this is an error. It seems that the content type is not multipartform-data. This indicates that the error text returned after the post file is uploaded to MP3 is
{"Error": "invalid multipart format: request Content-Type isn't multipart/form-data "}
Where is the error? It seems that the content type is not multipart/form-data.
Reply content:
The error text returned after the post is uploaded to the MP3 file is this
{"Error": "invalid multipart format: request Content-Type isn't multipart/form-data "}
Where is the error? It seems that the content type is not multipart/form-data.
You have not written the content-type in the header. We recommend that you capture the package or use the debugging mode of the browser to check the package.
Specify the Content-Type to upload files. For example, php uses curl to upload files.
Curl_setopt ($ ch, CURLOPT_POSTFIELDS, $ data );
$ Data needs to be an array instead of a string