Hi,
We have an application that's going to digitally sign attachments on EspoCRM (v 5.1.2)
Until now, we have sucessfully downloaded and signed the files, but updating them is not working.
We have tried PUT and PATCH request to /api/v1/Attachment/{id} with the file encoded in JSON like this:
{
"file": "data:application\/pdf;base64,(encodedbytes...)"
}
The request returns 200 OK, but the attachment is not updated
Are we missing something?
It's ok to update the files in /data/upload directly ?
Thanks for your help,
We have an application that's going to digitally sign attachments on EspoCRM (v 5.1.2)
Until now, we have sucessfully downloaded and signed the files, but updating them is not working.
We have tried PUT and PATCH request to /api/v1/Attachment/{id} with the file encoded in JSON like this:
{
"file": "data:application\/pdf;base64,(encodedbytes...)"
}
The request returns 200 OK, but the attachment is not updated
Are we missing something?
It's ok to update the files in /data/upload directly ?
Thanks for your help,
Comment