Good afternoon,
I'm trying to set up a PHP script to do an import of files into Sugar and I'm running into an issue when trying to use the /Documents/:document_id/file/:file_name endpoint. I'm sending over my base64 encoded string ('test') as the contents of the file with an oauth-token header and 'X-Content-Transfer-Encoding' of 'base64', but Sugar is responding with:
Does anyone have some insight into how this is supposed to work and/or how I can post the contents of a file over to the API so it gets written into the system?