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
user123.ax1086user123.ax1086 

How to invoke REST Api from Apex page

Hi,

 

I am developing <apex:pages>.Now i need to integrate the <apex:page> with the BackEnd coding.For that REST Api have to be invoked.

 Can anyone please suggest me  on how to Invoke REST Api from <apex:page>.

cwall_sfdccwall_sfdc

As an alternative to REST, consider employing Visualforce's Javascript Remoting.  Javascript Remoting is tightly integrated with Visualforce.

 

http://blogs.developerforce.com/developer-relations/2011/02/quick-look-into-javascript-remoting.html