Activity Forums Salesforce® Discussions What is SOAP and REST API in Salesforce?

  • Shweta

    Member
    January 24, 2020 at 3:35 pm

    SOAP  and REST API are  used to expose your data from force.com platform to other platforms(like java) or to allow external application to invoke Apex methods.

    Soap API : It supports data in the form of XML .

    REST API : It supports data in the form of XML and JSON.

     

  • Anuj

    Member
    January 24, 2020 at 3:39 pm

    Hi Aditya,

    SOAP (Simple Object Access Protocol)  is a web service architecture, which specifies the basic rules to be considered while designing web service platforms. It typically uses HTTP as a layer 7 protocol .It is based on the standard XML format, designed especially to transport and store structured data between two applications.

     

    REST(Representational State Transfer) is another  web services interface for interacting with Salesforce. It support both JSON and XML formats.

    and various methods like Get, set, Put , Post, Patch.

  • Shubham

    Member
    January 24, 2020 at 4:29 pm

    Hi Aditya,

    Soap and Rest API help us to interact with other platforms and helps external platforms to invoke apex methods

    SOAP API supports data in form of XML while REST API supports data in form of XML as well as JSON.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos