You need to sign in to do that
Don't have an account?
Manoj Thangavel
REST API to insert pdf Document
Hi Everyone,
I have enabled REST API for my org and tried to insert a pdf document into Document object. i have tried https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_insert_update_blob.htm the steps.
Those steps working fine for text file from psotman.
But the PDF documents are not able to insert.
But, the pdf document is not readable in Salesforce reord.
I have tried another way, and recevied below error message.
Is there any proper steps to make this callout succes from postman or any java code to make this callout to insert pdf document ?
I have enabled REST API for my org and tried to insert a pdf document into Document object. i have tried https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_insert_update_blob.htm the steps.
Those steps working fine for text file from psotman.
But the PDF documents are not able to insert.
But, the pdf document is not readable in Salesforce reord.
I have tried another way, and recevied below error message.
Is there any proper steps to make this callout succes from postman or any java code to make this callout to insert pdf document ?