Upload Issue using API v2

I am trying to upload files into workspace in a Pydio 8 instance using API v2. I noticed some file extensions will be corrupted once uploaded into the workspace. No issue when using Pydio 8 interface.

Tested OK : .pdf, .txt
Tested Corruped : .jpg, .xlsx, .docx

I am using below URL to upload and attached file physically as form-data (using Postman)

https://base-url/api/v2/io/workspace-name/testfile.txt

Could anyone help with this issue?