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
Prosenjit Sarkar 7Prosenjit Sarkar 7 

How to call REST calls from apex ?

We can get REST callouts from Workbench. I want to know how to call this REST callouts from apex, with a proper simple example.
Abraham kumar 4Abraham kumar 4
if you want to send your data to an external service. write a trigger condition as to criteria of when data should be sent. when that executes make a call to an @ future class. the class holds data to endpoint ,authorisation, to where it should be sent. Hope this helps.