Activity Forums Salesforce® Discussions How can we make a callout using javascript in Visualforce Page?

  • How can we make a callout using javascript in Visualforce Page?

  • sushant

    Member
    February 1, 2017 at 1:23 pm

    Hi All,

    How can we make a callout using javascript in Visualforce Page?

    Thanks

  • Kumar

    Member
    February 2, 2017 at 3:22 pm

    Hi Sushant,

    To make a callout (I am assuming rest) from your page, you have to use the http object in your controller.

    You can also use scripts available for specific apis and use them in your page's <script>.

    Hope this helps.

Viewing 1 - 2 of 2 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos