Posts

Showing posts from June, 2017

Salesforce Integration with Plivo using Rest Api

Image
Visualforce Page: <apex:page controller="PilvoCntrl" tabStyle="Account">     <apex:form id="frm">         <apex:outputText value="{!error}" style="color:green;font-weight:50px"/>          <apex:pageBlock title="Call From Plivo">             <apex:pageBlockSection collapsible="false" columns="2" title="Call Information">                  <apex:commandButton value="Call" action="{!callPlivo}" reRender="frm"/>             </apex:pageBlockSection>        </apex:pageBlock>     </apex:form>   </apex:page> Apex Controller: public class PilvoCntrl{        public String error{get;set;}     public PilvoCntrl(){}          public void callPlivo() { ...