You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually when you do a PUT you DO NOT HAVE to use multipart form/data, just upload the file as is.
As a result, you have to do ad upload generating a put request that will upload the file as a binary string also specifying Contet-Type "multipart/formdata".... that is not.
I went crazy following the example because I tried to upload with put and multiplart/form-data that is NOT decoded by the put.
I was finally able to perform the upload removing the Content-Type when generating the file upload and then doing a plain put of the file to upload.
The text was updated successfully, but these errors were encountered:
In
credential.js
in the ocr example the options for generating a file upload for put are:Actually when you do a PUT you DO NOT HAVE to use multipart form/data, just upload the file as is.
As a result, you have to do ad upload generating a put request that will upload the file as a binary string also specifying Contet-Type "multipart/formdata".... that is not.
I went crazy following the example because I tried to upload with put and multiplart/form-data that is NOT decoded by the put.
I was finally able to perform the upload removing the Content-Type when generating the file upload and then doing a plain put of the file to upload.
The text was updated successfully, but these errors were encountered: