function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
raz rraz r 

Attachments and data sending through REST API by clicking custom button

In an Opportunity record I have 5 attachments with different formats.
I want to send these attachments and Opportunity data to external system via REST API callouts by clicking a custom button.

Please advise on this.
NagendraNagendra (Salesforce Developers) 
Hi Raz,

Please add your code that you have tried and where you stuck.

As per your requirement, a button would call into a controller that would make a callout.

Hope this helps.

Best Regards,