Unknown file generated when saving in nuxeo: WebKitFormBoundary

40 Views Asked by At

I'm new to nuxeo and trying to understand it by nuxeo university tuitorials and the nuxeo documentation. I'm trying to upload a file and for that, I followed the tuitorial.

  1. I generated the batch ID.
  2. Uploaded the file using

URL

 http://localhost:8080/nuxeo/api/v1/upload/batchId/0

Headers

 Authorization: Basic QWRtaW5pc3Rybnhvcjptb2hpdC4xMjM0
 Content-Type: application/octet-stream
 X-File-Name: licenseFile
 X-File-Type: text/plain

File

 file: /var/lib/nuxeo/server/LICENSE.txt
  1. Attach the uploaded file to the document.

But when I check the file in nuxeo web UI, It does not have the original content but something else:

------WebKitFormBoundaryNyRaKLr8FB6Afcu2

Content-Disposition: form-data; name="file"



/var/lib/nuxeo/server/LICENSE.txt

------WebKitFormBoundaryNyRaKLr8FB6Afcu2--
0

There are 0 best solutions below